Here is an example of how the program would be run from the command prompt (separate the parameters with spaces). Use the WScript.Arguments to retrieve the parameters that were passed. You can use the approach for passing parameters in a command shell, or even a scheduled task. Passing parameters to a VBScript file allows you to reuse your VBScript program.