Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3214

Calling Script from Script Database using General File Path

$
0
0

I have a script that I use to call other scrips and we changed the file paths to these scrips that I call. Right now my code uses absolute file paths to call the scripts. E.g.: z:\User\ID\Scripts\SubFolder\SubFolder2\script.vbs.

 

Is there a way to provide a general location, e.g.: z:\User\ID\Scripts, and then the script name and it would search that location and all sub folders for the script?

 

We have all the sub folders to provide structure for a favorites menu, otherwise I would dump all the scripts into a single folder.


Viewing all articles
Browse latest Browse all 3214

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>