Home
Miscellaneous Windows Tweaks
Resume of Bill James
Linda and Bill James
Comments about this site
Please sign our Guestbook
Find out What's new with us


Visit BillsWay.comASP Odometer Hit Counter - © Bill James 2000 - All Rights ReservedASP Odometer Hit Counter - © Bill James 2000 - All Rights ReservedASP Odometer Hit Counter - © Bill James 2000 - All Rights ReservedASP Odometer Hit Counter - © Bill James 2000 - All Rights ReservedASP Odometer Hit Counter - © Bill James 2000 - All Rights ReservedASP Odometer Hit Counter - © Bill James 2000 - All Rights Reserved
(Since Apr 14th, 2002)

Windows VBScript Tools

Bill James · Microsoft MVP

Microsoft Most Valuable Professional

FYI

Disclaimer
These script files are presented "as is".  Every effort has been made to ensure the files work as stated.  I assume no responsibility for your use of these files.

What is VBScript?
VBScript (Visual Basic Scripting) is a handy tool for File, Drive and Registry maintenance in Win9x.  All you need to run most .vbs files is WSH (Windows Script Host), which is included with Win98 and WinME, and can be added to Win95 by means of a free download from Microsoft (Internet Explorer 4+ required.)  Some of these scripts will also work with WinNT and Win2K, but are not completely tested for those OS's.

Windows Script 5.6 has now been released and has many useful new additional features.  Some of the scripts on this page will not work with older versions of WSH.  You can  Upgrade to Windows Script 5.6 here.

Some scripts on this page require WMI (Windows Management Instrumentation), which is included with Windows Me, Windows 2000 and Windows XP.  For Windows 95, 98 and NT4, WMI can be downloaded from Microsoft (WMI also requires Internet Explorer version 5 or later).    Download WMI for Windows 95/98      Download WMI for Windows NT4

VBScript Version Chart

VBScript is also the most commonly used scripting language for Active Server Pages, like the one you are viewing now.  Since the script runs on the Web Server, ASP allows including dynamic content and customizing the page appearance before it loads, and can decrease the page loading time.  I will be adding an ASP scripting section soon.


VBScript Links
The Scripts

Add New Internet Explorer 5+ Editor
Requires Internet Explorer 5+.  Adds new editor to "Edit with" button in Internet Explorer and as right click option for HTML files in Windows Explorer.  Additional option to set editor as default for "View Source".

Script revised 28 Oct, 2001 to work with IE6.
View Script 5607
7230

ANSI Character Code Generator
Enter any keyboard character into the InputBox and get the ANSI character code for it.  Handy if you do scripting yourself. View Script 4934
6551

Change the path for Windows setup files
Change the path Windows uses for setup files.  Handy if you've copied the .cab files to hard drive, or your CD-ROM drive letter has changed due to adding drive or partition. View Script 6287
6584

Change Last Drive Letter
Check or change last drive letter setting in Windows Registry.  This can solve problems such as not being able to add a zip drive or new partitions. View Script 5356
4776

Change Recycle Bin Name
Just for fun.  Change the name of Recycle Bin Desktop icon (e.g. "TRASHED"). View Script 7223
7885

Change Registered Owner and/or Organization
Bought a used computer and tired of seeing the old owners name come up every time you install software?  With this tool you can easily change the name Windows uses for registered owner and/or organization. View Script 7331
11401

Create Folder Context Menu Item
Creates new right click context menu item for drives and directories (folders) allowing the creation of a new folder.  To Install or Un-install, double click the script file. View Script 7264
8696

Delete Temp Files      ~~~REVISED~~~
A utility to clean Win9x temp directory at boot.  Put a shortcut to this file in Startup directory.  Original author - Michael Harris.  Modified to add safety check for dangerous temp folder setting and display summary Popup with savings for files deleted this run and cumulative savings to date.

Script revised 26 May 2002 to add error trap for condition where an unformatted drive/partition is present (bug credit to Todd J Heron).

View Script 12212
12957

.DLL File Context Menu Tweak
More a developer tool than user tool.  Adds right click context menu item to Register or Unregister .dll files. View Script 4044
6729

Dial Up Networking Menu
Presents menu of Dial-Up Networking (DUN) connections and dials the selected connection.

Updated 22 Jun 2000 (menu is presented faster).

View Script 5821
6110

Extract Files From Windows Setup Cabs
Extract files(s) from Windows Setup Cabs to new folder, "Extract", in temp directory and open explorer window there.  Manually cut and paste files to desired folder for safety.  If .cabs not located from Registry key, browse for folder enabled. View Script 3770
6184

Find File Information
Quickly search your drive for specified file name and return path, version, size and date information.  The Script can search a specified drive or or all drives.  Input limited to file name only (no extension).

Requires WMI, which is included with Windows Me, Windows 2000 and Windows XP.  For Windows 95, 98 and NT4, WMI can be downloaded from Microsoft (WMI also requires Internet Explorer version 5 or later).

Download WMI for Windows 95/98          Download WMI for Windows NT4

View Script 13591
12396

Get Information About Your Drives
Display comprehensive information for all local and network drives.

Note:  WScript will incorrectly report sizes over 2GB

View Script 7286
8018

Get IP Address      ~~~IMPROVED~~~
Check the IP address you are currently using to connect to Internet/LAN.  (If you don't know what this is useful for, you probably don't need it.)

Script revised 15 Jan 2002.  Now works with Windows NT, 2K, XP.
View Script 42077
32948

Hex to Decimal Converter
A specialized script of use to programmers with no significance for general users, but one I get requests for from time to time.  Input a Hexadecimal value and the script returns the Decimal value for it.  The script can only convert input strings of 12 or less AlphaNumeric characters, or 13 Numeric characters. View Script 3289
4914

Increase Icon Cache Size
This utility will add an option in Win9x " Folder Options " to change icon cache size setting to 1024, 2048, 4096 or 8192.  Changing this setting can resolve the problem where some icons in My Computer, Windows Explorer, on the Desktop or in the Quick Launch toolbar may randomly change.  It also may be necessary to manually delete the ShellIconCache file to fix the icon display problem.

See  Microsoft Knowledge Base Article ID: Q132668  for more information on this problem.

View Script 1667
3339

List Installed Programs      ~~~NEW~~~
Lists installed software shown in Registry Uninstall key.  This script should run on Windows 2000 and Windows XP as is, and on Windows 9X and NT where WMI and current scripting engine are installed.  Capability to probe a remote computer for NT to NT type Operating Systems (local computer must be logged in with the same ID and PW as the remote computer).  Output is to a tab delimited text file which can be imported to newer versions of Excel and converted to a spreadsheet. View Script 34560
49902

Maximize the Windows Find Box
Tired of that tiny display window you get for Windows Find function in Windows 95 and Windows 98?  This script will create a shortcut on your Start Menu that will run Find in a maximized window.  Double click the script file to install.

Requires WSH 2.0 or higher.   Upgrade to Windows Script 5.6 
View Script 2234
3409

Random Password Generator
This script will generate a random case sensitive AlphaNumeric string suitable for use as a password, etc.

Script revised 08 Oct, 2001 to allow input for length of generated random string, from 1 to 1000 characters.

Since no checking is done for uniqueness of the generated password there is remote possibility for a password to eventually be duplicated.
View Script 9267
11037

Registry Search Tool
Search the Windows Registry for input string and display results (easier than repeatedly hitting the F3 key in RegEdit).

Script revised 13 Dec 2001 to work with Windows XP and Windows 2000.
View Script 26274
43663

Restore Show Desktop
If you have Windows Active Desktop installed, you probably also have a "Show Desktop" shortcut in your Quick Launch Bar.  If that shortcut gets deleted or corrupted, you can easily restore it with this script.

Requires Active Desktop option (Shell32.dll Version 4.71 or higher).

Script revised 31 Mar 2002 to work with IE6 (Thanks to Doug Knox -- good catch).
View Script 3246
5527

Scandisk and DeFrag All Drives Automatically
Auto-run ScanDisk then DeFrag on all local hard drives with no user input.  (Start it before you go to bed and let it run.) View Script 8982
12410

Send to X as Shortcut
Similar to the MS "Send to Desktop as Shortcut", this script creates a new SendTo option, "Selected Folder (create shortcut)".  When you select that option from the Send To context menu, you will have an option to create a shortcut in the "Desktop", "MyDocuments", "SendTo", "StartMenu", or "Startup" folder.  Just double-click on the saved SendToXasShortcut.vbs file to Install or Uninstall this tweak. View Script 3976
6623

Set Your Windows Clock Automatically
Adjusts system time if off by 1 second or more.  Also corrects date if needed.  Non-US users with slow connections may not achieve maximum accuracy.  Minimum system requirements to run this script are Windows 95 or Windows NT 4.0 with Internet Explorer 5.  Credit to Michael Harris for original concept.

Script revised 9 Apr 2002 to add error trap for time server being down, and use the National Institute of Standards and Technology (NIST) website as a backup time server .

View Script 6477
7598

Shutdown Options Tool
Invoke Windows shutdown options Popup (same as clicking Start - Shutdown). View Script 9695
10065

Shutdown Timer      ~~~IMPROVED~~~
This script allows you to set a timer to shut down Windows after a selected number of minutes (an option prompt appears 1 minute before shutdown allowing cancellation of the request).

Script revised 26 Oct 2003 to use WMI for shutdown, making it more compatible across Windows Operating Systems.  Tested on Windows 98, Windows 2000, Windows XP.

Requires WSH 2.0 or higher.   Upgrade to Windows Script 5.6 

Requires WMI, which is included with Windows Me, Windows 2000 and Windows XP.  For Windows 95, 98 and NT4, WMI can be downloaded from Microsoft (WMI also requires Internet Explorer version 5 or later).

Download WMI for Windows 95/98          Download WMI for Windows NT4

View Script 10755
11565

SpellCheck      ~~~NEW~~~
Spellcheck contents of Windows clipboard.  Requires Microsoft Word 97 or higher.  To use, copy text to be spellchecked, then click on the script or a shortcut to the script.  After spellchecking is complete you can paste any corrections back to the original document.  Handy for such things as checking the contents of an on-line form text box before submitting it.  (Hint: Drag a shortcut from the script to the QuickLaunch bar for easy access.) View Script 3535
5778

Startup Delay
Have too many programs loading at Windows startup, causing heavy CPU usage?  This script allows you to sequentially load programs in the order you want, with a specified delay to allow each to load before starting the next.  You will need to edit the script for your specific programs and delay time, then put a shortcut to the script in your Startup folder. View Script 7109
8068

Startup List
Quickly produce a list of programs that load when Windows starts up.  Having too many programs loading at bootup can not only lengthen the startup time, but also make your computer run slower and lead to serious resource problems on Windows 9x based systems.  This script gives you a one click means of quickly viewing what is loading at boot.

Requires WMI, which is included with Windows Me, Windows 2000 and Windows XP.  For Windows 95, 98 and NT4, WMI can be downloaded from Microsoft (WMI also requires Internet Explorer version 5 or later).

Download WMI for Windows 95/98          Download WMI for Windows NT4

View Script 4685
9796

VBScript FTP Upload Tool
If you have a web site, do you ever find that you need to just make a minor change to one or a few files, and think it is a pain to have to fire up a FTP program to upload them?  This utility allows you to do a simple upload by just right-clicking the file, selecting SendTo, then selecting vbsFTP.

Before you can use this script, you must manually configure it by right-clicking on it and selecting Edit - there are instructions to tell you what to do.

View Script 21622
21045

Windows 9x ProductKey Saver
Get Windows 9x Product Key from Registry, with option to print.  The Product Key is needed for a reinstall of Win9x, and will be on your Windows Setup CD case or Windows manual, but what if you lose it? View Script 5088
8225
~ ~ ~
Page revised 1/12/2010 6:28:49 PM  ©  Bill James   2000 - 2014  All rights reserved.