Exec.vbs Syntax

command promptOpen command prompt now.


1. To execute a command

One StepExec.vbs /e command [/S server] [/O outputfile] [/U username] [/W password]

2. To stop a running process

One StepExec.vbs /x processID [/S server] [/O outputfile] [/U username] [/W password]

Where:

command
is a command to be executed (the entire command must be enclosed in quotes if it contains spaces.)
processID
is the number of the running process. You can obtain the processID using Ps.vbs or Pstop.vbs.
server
is a computer name.
outputfile
Is the output file name.
username and password
are the user name and password of the current user.