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
     
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.
     
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 script of a replacement for the so called "MS DOS console". It can easily be used to run console programs and presents their results in a display that is easy to cut for use in Windows applications.

Bookmarks
Some of the related sites I have visited

Index
An index of the whole site.



Top | General Notes | Homepage