How do I install the Windows Scripting Host software?
March 4, 1999
A. When the software is downloaded fromhttp://msdn.microsoft.com/scripting/a single file is fetched, WSH.EXE.
Switches for WSH.EXE are
/Q - Quiet Mode
/T: - Specifies temporary working folder
/C - Extract files only to the folder when used also with /T
/C: - Override Install Command defined by author
To install perform the following:
Start WSH.EXE either by running or clicking in Explorer
Click Yes to the installation confirmation
Click Yes to the license agreement
Click OK to the install success message.
If you wanted to install as part of a logon script or the like you would use
C:> wsh /q
Which then asks no questions and gives no confirmations. You could check tosee if WSH is installed and only install if not found, e.g.
if not exist %systemroot%system32wscript.exe\wsh.exe /q
Where \ is a share that holds the WSH.EXEimage.
About the Author
You May Also Like