Hi,
I am trying to figure out how to pass filenames/paths into VBScripts that have spaces in their names. For example:
CScript shrtct.vbs c:\sol.exe
works fine. (The script makes shortcuts to the filename passed in and stores them on the desktop.)
However, I cannot do this:
CScript shrtct.vbs "c:\sol two.exe"
(cannot use parentheses when calling a sub)
Any ideas are greatly appreciated.
Thanks,
Chris
I am trying to figure out how to pass filenames/paths into VBScripts that have spaces in their names. For example:
CScript shrtct.vbs c:\sol.exe
works fine. (The script makes shortcuts to the filename passed in and stores them on the desktop.)
However, I cannot do this:
CScript shrtct.vbs "c:\sol two.exe"
(cannot use parentheses when calling a sub)
Any ideas are greatly appreciated.
Thanks,
Chris