All Forums >> [Scripting] >> WSH & Client Side VBScript >> Please help loading variables from file Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hi, I found this script which uses variables declared in UCase(strTemp) = UCase(".mp3") to look for files with matching extensions and save it in the search.log with location path, the script can be set to delete the files afterwards too.
My question is: Is there a way of having a text file with extensions listed in there like so; .mp3 .mp4 .avi .mpeg and making a scrip to load these as variables for file search? Thanks every much for any ideas on that
< Message edited by tomas -- 6/4/2008 10:42:37 PM >
sorry for not expressing myself right... How should the original script changed so instead of declaring variables statically they could be loaded from file?