How to Run a VB Script From DOS
- 1). Click "Start," type "cmd" in the search window, and press "Enter." This will open your computer's command prompt. Alternatively, click "Start," click on "All Programs," select "Accessories" and click "Command Prompt" from the list of programs that appear.
- 2). Type "cd\" in the command prompt, and press "Enter" on your keyboard.
- 3). Type "cd," press the space bar, type the path that is the location of your Visual Basic script, and press "Enter." For example, if the location of your script is "C:\programs\12x\," type "cd programs\12x\" and press "Enter."
- 4). Type in the name of your Visual Basic script, and press "Enter." Make sure you include the script's extension. For example, if your script is a part of an HTML file named "hi," type "hi.html," and press "Enter" on your keyboard.
Source...