How I can Execute a cmd
command from VBScript (not by .bat file)
For example, I want to execute the following from VBScript:
cd /d C:dir_test\file_test
sanity_check_env.bat arg1
Create WScript.Shell object and invoke Run() method on it.
http://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.85).aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With