I noticed that when I use WShell.run & WShell.exec in a script, there is a difference. When using WShell.run, it will execute both .exe & .bat, but will not execute a path with spaces in it. (c:\program files\) When using WShell.exec, it will not run .bat's but it will run a path that has spaces.
Is there anyway I can use just one of these commands, and get all the functionality of both???
For example, I'd like to run the file c:\program files\test.bat.
thx
Is there anyway I can use just one of these commands, and get all the functionality of both???
For example, I'd like to run the file c:\program files\test.bat.
thx