My WSH Script Index
The example files are provided as straight .txt files for easy cut and paste or direct saves to a file. The links have a .vbs in their names to indicate the intended script engine. If I add a JScript example, it will have a .js part in its name for clarity. I am not trying to fool you with the names; as the important final extension, used by Windows to decide how to treat a file, is the harmless .TXT extension.



Table of Contents
     
NewFolder in right-click menu
A routine to provide a 'better' Newfolder function in Explorer. Copy it to an approriate location and run it from that location once to register it. After that use it by right-clicking the folder where a new subfolder is desired. Multiple subfolder levels (backslash between subfolders) and branches (colons between branches) can be added at one time.
     
MsgBox2 Example
A refinement of the original VBScript, below.
     
MsgBox Example
An example routine to illustrate a user definable display that looks like the intrinsic MsgBox method of VBScript.
     
PasswordBox Example
An example dialog box to get a user ID and password from a user. The password is hidden while typing. Revised 1/2008 for use with IE7 (same function, but with title bar and window frame visible). Still shows no 'chrome' in versions earlier than IE7.
     
Fix Line Ends
A little utility that fixes the malformed (from a Windows perspective) new line forms that are often incountered when downloading files from the Internet.
     
DownloadBIN Example
An example routine to show how to download a text page or binary file, such as an image or executable, from a known URL.
     
ChooseFile Example
An example of using the HTML INPUT object to present a GUI file selection dialog for opening EXISTING files from within a VBScript procedure.
     
Eject CD-ROM Example
An little example program showing one way to programatically Eject (open) a CD-ROM drawer.
     
Selection Box Example
An example script that illustrates the creation of a pulldown list dialog of provided options.
     
Clipboard Example
A number of routines that show how to use the InternetExplorer's GetClipboardText and SetClipboardText methods from a VBScript application.
     
Recurse Folders Example
A simple example of recursively accessing files in a folder and all of its subfolders. A list is created of the 'MyDocuments' folder. (Example is best used with Cscript.exe at a command prompt.)
     
A Command Prompt Replacement
A demonstration Hypertext Application (HTA) script of a replacement for the so called "MS DOS console". It runs console programs and presents their results in a display that is easy to cut for use in Windows applications. (Note: The first and last lines [<xmp> ... </xmp>] will need to be removed and the extention changed to be .hta.)

Bookmarks
Some of the related sites I have visited

Index
An index of the whole site.



Top | General Notes | Homepage

001504