Windows Script Host Bazaar
Disk operations

User interface






Sample page

Disk operations

  • Disk copy in WSH
  • Format disks in WSH
  • Recursive Folder handling
  • User interface


  • Shutdown Windows with a RunDLL call
  • Suspend Windows or invoke the shutdown dialog using the shell
  • Exit Windows with a WSH-Script (undocumented backdoor to Win 98)
  • Accessing Windows shell with WSH-Scripts New
  • Record User Login under Windows (Win 9x/NT)
  • Hide/show the last user in the Windows logon box
  • Modify the icon size with a WSH script
  • Office

  • Excel: load a (CSV) file, print it and exit Excel
  • Excel: import CSV files (the big hammer)
  • Word: just a sample to access this application New
  • Outlook: create an e-mail New
  • Miscellaneous

  • Display WSH & Engine properties (comes in handy to check your environment)
  • SendKeys: data exchange via Clipboard between Calc and Notepad (just something like a macro player)
  • There are many other samples and undocumented features.  German readers will find the know how in the Microsoft Press titles Microsoft Windows 98 Power Toolkit and Inside Windows Script Host. An English WSH  book is available as Microsoft Windows Script Host 2.0 Developer's Guide (Microsoft Press).


    You may use all samples contained within my web site AS-IS and at your own risk. In no way shall the author be liable for any losses or damages resulting from the use of these programs. The code is the property of the author. You may use the code and modify it for own purposes, as far as the header in the script file remains intact. The script file may be distributed in its original form, or in modified form, if the header of the script file remains intact.


    Copyright (c) by GŁnter Born
    All Rights Reserved