How do I install the Windows Scripting Host software?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo

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:

  1. Start WSH.EXE either by running or clicking in Explorer

  2. Click Yes to the installation confirmation

  3. Click Yes to the license agreement

  4. 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

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like