I Have an old vbs script file being kicked off by an AutoSys job. Can I, and how do I, return an int return value to indicate success or failure?
Try:
WScript.Quit n
Where n is the ERRORLEVEL you want to return
How to set delay in vbscript? WScript.Sleep(100) does not work on Windows XP, Vista.
What is the command or the quickest way to output results to console using vbscript?
Is it possible to create a file and write lines to it in vbscript? Something similar to echo in bat file (echo something something >>sometextfile.txt). On execution of the vbscript depending on the path of the script …