Monthly Archives: February 2006

  • 1

How to Set The Working Directory for WScript.Shell Run Method? #VBScript

Tags :

Category : VBScript

The Run method uses always the current working directory. Therefore, you have to change the directory if the command that will be executed with the Run method requires to be run from a specific directory.

The Sub below, RunHere, executes a command in the specified working directory and then changes back to the original directory.