What Is Windows Script Host?

What Is Windows Script Host? thumbnail
Windows Script Host is compatible only with computers using a Windows operating system.

Windows Script Host, or WSH, is a language-independent scripting host for 32-bit Windows platforms. It, like Internet Explorer, acts as a controller of Active X, can be found in both Java and Visual Basic scripting engines, and can be used to open Windows script files from both Windows and from the command prompt.

  1. Windows Script Files

    • Windows script files, or .wsf files, are text documents that contain XML code. These files are not engine-specific, and act only as a container. Because of the flexibility built into their code, these files allow you to use more than one scripting language per file, incorporate both Visual Basic and Java elements, add constants to your code, edit files with any XML editor, and store all your code in a single location.

    Appropriate Tasks

    • Windows Script Host is appropriate only for running simple tasks, which require only non-interactive scripting. Windows Script Host can be used to access networks, create an automated log-in script, drive applications, execute file management operations, manage shortcuts, manipulate the system registry, run scripts remotely, sign a script and other similar tasks.

    Running Scripts

    • There are three basic ways you can run a script using Windows Scripting Host. In windows, a script can be run by double clicking on the script icon from the desktop, just as you run any other executable file. Also, from windows, you can go to the Start menu, click "Run", and in the open field of the Run dialog box, type the full path name of the script before clicking "OK". Finally, a script can be run from the command line, by typing the name of the script and hitting "Enter".

    System Requirements

    • Windows Scripting Host is not a full Internet browser; it is more simplistic, and so has a smaller memory footprint. However, because it is a smaller program it relies on Visual Basic and Java Script engines that are part of Internet Explorer. This means that, for Windows Host Scripting to function properly, the computer must meet the minimum system requirements for, and be using, Internet Explorer 3.0 or later.

    Downloading

    • Windows Script Host is included in Internet Explorer 5. The most current version, 5.6, can also be downloaded independently from the Microsoft website. The download will install Microsoft Windows Script containing Visual Basic Script, JScript, Windows Script Components, Windows Script Host and Windows Script Runtime. The file is 678 KB, and takes approximately 2 minutes to download on a 56K connection.

Related Searches:

References

Resources

  • Photo Credit computer image by peter Hires Images from Fotolia.com

Comments

You May Also Like

  • How to Troubleshoot Windows Script Host 5.6

    Windows Script Host, also referred to as WSH, was designed as a scripting host for 32-bit platforms that operate in Windows. This...

  • How to Enable Windows Script Host

    Windows Script Host is an administration tool by Microsoft that creates an environment for hosting scripts. According to Microsoft, Script Host will...

  • How to Download a Java Script to a Windows XP Computer

    JavaScript adds functionality to websites that HTML alone cannot provide. Sometimes you can view a site's JavaScript by selecting "View Source" in...

  • How to Enable a Script Host in Windows XP

    Windows scripting can be a difficult, time-consuming task requiring the user writing scripts to possess some basic programming skills. Scripting is used...

  • How to Reinstall CScript

    Scripting is programming language that controls software applications. Microsoft's Windows Script Host provides a hosting structure for the Windows 32-bit platform ...

  • How to Install Windows Script Host

    Windows Script Host is an engine that allows scripts written in certain languages such as Visual Basic to run on a Windows-based...

  • How to Uninstall a Windows Script Host

    Windows Script Host is a Microsoft tool that is utilized to run VBS (Visual Basic Script). Windows 32-bit operating systems in addition...

  • How to Execute Windows Script Host

    System administrators use Windows Script Host (WSH) files to manage files, update the registry, and perform advanced networking tasks. Windows Script Host...

  • Windows Script Host Tutorial

    You can use Visual Basic Script or JavaScript to create scripts to run on 32-bit Windows operating system platforms using Windows Script...

Related Ads

Featured