A. Its possible to run a DOS command from inside a WSH program using the following:

DIM objShell<br>
set objShell = wscript.createObject("wscript.shell")<br>
iReturn = objShell.Run("cmd.exe /C set var=hello", 1, TRUE)


You could use %Comspec% variable instead of cmd.exe if you wish. The /C closes the command window after the command is completed. The actual command set var=hello just creates an environment variable called var set to hello.