Rob van der Woude's Scripting Pages

WSH: Examples (All)

HTA, JScript, VBScript and WSC examples

💾 Click the floppy disk or package (for third party scripts) 📦 icons to download the ZIPped sources

Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped sources

 

 

All 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

WSH examples
💾 Name Version Description Last modified
(yyyy-mm-dd)
Remarks
💾 AccessRd.vbs 1.01 Read MS-Access database files without using MS-Access 2008-03-14 Requires MDAC 2.8
💾 AddIPPrn.bat 1.01 Install a printer with a TCP/IP printer port on a remote computer 2006-01-31 Requires PRNADMIN.DLL
💾   ADSITest.hta   Test and debug ADSI queries 2007-06-19 Requires ADSI client software.
This HTA combines several sample script from Don Jones' book VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration.
💾   AirReg.hta 1.04 Demo script using Airport-data.com's API to lookup airplane data by its registration number 2020-02-15 This HTA is no longer supported; use the powershell GUI version instead.
💾 AllHelp.vbs 3.29 Display help for "all" Windows commands in HTML 2017-05-02 More details and samples of generated HTML pages on my AllHelp page.
Use version 2.12 (included in the ZIP file) for "legacy" Windows versions (XP and before).
💾 APIPA.vbs 1.00 Disable APIPA on all local network adapters 2008-01-09 Make sure you understand what this script will do before you confirm its action!
💾 ASCII2UC.vbs 1.00 Convert ASCII text files to Unicode 2006-07-30  
💾   AtticNumerals.hta 1.00 Convert Attic numerals to decimal vv. 2016-01-31  
💾 B64Coder.vbs 1.00 Base64 encode/decode files 2007-04-11 Requires Belus Technology's X-Base64 component
💾 Backup2ExternalHDD 1.00 Automatically start a backup whenever a specific external harddisk is connected 2016-11-09 Intended to be scheduled at logon
💾 Bin2Vbs.vbs 2.00 Convert a (small) binary file into VBScript code that can recreate that file 2019-01-30  
💾 BIOS.vbs 1.00 Display BIOS information 2002-11-30  
💾   BirdName.hta 2.12 Translate animal species (chordata) names from one language to (m)any other language(s) 2013-11-14 Discontinued; succeeded by BirdName.exe (witten in C#).
💾 BirdName.vbs 1.01 Use Wikipedia to translate a bird name from one language to another 2011-12-07  
💾 BookFind.vbs 1.12 Look up book title and author for a specified ISBN number 2020-12-03 This script uses Amazon.com's website to look up books
💾 BootDriv.vbs 1.00 Return boot drive letter 2003-01-06  
💾 BootState.vbs 1.00 Show Windows' boot state, e.g. Normal, Safe mode, Windows PE 2017-10-19  
💾 BrFolder.vbs 1.00 Open a "Browse Folder" dialog 2007-03-30 Based on the Hey Scripting Guys article How Can I Show Users a Dialog Box That Only Lets Them Select Folders?
💾   CalDemo.hta 1.01 Demonstration of Microsoft's Calendar HTML Component 2007-02-09 Automatically checks for updates and availability of control component.
💾 CanonReport.vbs 1.01 Display a report for a Canon IR3320 printer's total print output 2007-12-24 May or may not work on other Canon printer models too.
💾 CapsLock.vbs 1.01 Use MS Word or WordPerfect to display the CapsLock status 2007-12-15  
💾 CDEject.vbs 1.00 Eject all CD-ROMs on the local computer 2002-12-31 Requires Windows Media Player.
Posted by Christoph Fricke on a newsgroup.
💾 CDROM.vbs 1.10 Display all CD-ROM drive letters 2002-11-16  
💾 ChDefPrn.vbs 1.00 Open a print dialog to change the default printer 2007-04-23  
💾 CheckBOM.vbs 1.00 Check a file's Byte Order Mark (BOM) to determine its text encoding 2017-07-26 Since ASCII text does not contain a BOM it will be listed as "Unknown", as will binary files.
💾 CheckCalibreUpdate.vbs 1.01 Check if an update is available for Calibre eBook Management 2017-09-30 This script assumes Calibre's 64-bit version, you may need to edit the script for 32-bit version.
💾 CheckRes.vbs 1.01 Check if the screen resolution meets a specified minimum requirement, and exit with return code 1 if not 2010-09-16  
💾 ChkPath.vbs 2.11 Verify if all PATH entries are valid directories, and optionally correct errors 2018-05-16  
💾 CloneDate.vbs 2.11 Modify the timestamp of the specified target file(s) to match the specified source file's timestamp 2012-04-22  
💾 Coder.vbs 1.00 Encode/encrypt & decode/decrypt text files 2007-04-10 This is a very basic encoding algorythm!
Use it at your own risk.
💾 ComDlg32.vbs 1.00 Demo script showing several dialogs 2010-05-31 Requires ComDlg32.ocx
💾 ComDlgCP.vbs 1.00 Color Picker dialog 2010-05-31 Requires ComDlg32.ocx
💾 ComDlgFN.vbs 1.00 Font Select dialog 2010-05-31 Requires ComDlg32.ocx
💾 ComDlgFO.vbs 1.00 File Open dialog 2010-05-31 Requires ComDlg32.ocx
💾 ComDlgFS.vbs 1.00 File Save dialog 2010-05-31 Requires ComDlg32.ocx
💾 COMPorts.vbs 1.00 Display serial ports information 2003-01-03  
💾 CPULoad.vbs 1.00 Display CPU load information 2005-02-07  
💾 CPULoadTD.vbs 1.00 Display CPU load information in tab delimited format 2005-02-07  
💾 CPUSpeed.vbs 1.00 Display CPU speed for each processor 2005-02-05  
💾 CPUSpeedTD.vbs 1.00 Display CPU speed for each processor in tab delimited format 2005-02-05  
💾 CPUType.vbs 1.00 Display CPU type 2005-02-05  
💾 CPUTypeTD.vbs 1.00 Display CPU type 2005-02-05  
💾 CreateBackupScript.hta   Wizard to generate backup scripts and schedules 2016-01-05  
💾 Date2ISO.vbs 1.02 Convert any date/time to ISO date/time format 2011-03-18  
💾 Date2UTC.vbs 1.00 Convert any date/time to Unix time (UTC) 2011-03-18  
💾 Dec2Hex.vbs 1.00 Convert a decimal number to 8 digit hexadecimal 2002-11-13  
💾 DefPrn.vbs 1.00 Display default printer and port 2003-02-02  
💾 DelayRun.vbs 1.02 Start a program with a delay 2007-12-28 Use this script to modify the shortcuts in your Startup folder to prevent a "traffic jam" at login time
💾 DelFlash.vbs 1.00 Delete "Local Shared Objects", a.k.a. "Flash Cookies", from the current user's profile 2007-09-17 Tested on Windows XP SP2 only, won't work on Windows 7 or later.
Use entirely at your own risk!
Also available as DelFlash.bat, which has been tested in Windows 7 too, and will also remove Flash Cookies set by Google Chrome.
💾 DelTemp.vbs 2.00 Empty the TEMP directory and IE cache, and optionally also IE/document history, cookies and/or favorites, without prompting for confirmation, or remove only TEMP files older than the specified number of days 2009-09-17 Warning: this script has gone through limited testing only; read the on screen warning by running the script with the /? switch
💾 DelTemp3.vbs 3.00 Empty the TEMP directory and IE cache, and optionally also IE/document history, cookies and/or favorites, without prompting for confirmation, or remove only TEMP files older than the specified number of days 2010-05-14 Windows 7 version: /CD purges files waiting to be burned to CD
Warning: this script has gone through limited testing only; read the on screen warning by running the script with the /? switch
💾 DelTrash.vbs   Empty the recycle bin without prompting for confirmation 2007-06-16 Warning: this script has gone through limited testing only; read the on screen warning by running the script with the /? switch
💾 DelTrash2.vbs 1.00 Empty the recycle bin without prompting for confirmation, or remove only files older than the specified number of days 2007-06-17 Requires Tim Tabor's BinManager.
Based on Tim Tabor's JScript sample.
💾 devcon_help.vbs 1.00 Generate an HTML page with help for all commands for the current DEVCON version 2016-12-09 Requires DEVCON.
See my own devcon_help.php for an online version
💾 DisableLanguagePackUpdates.vbs 1.00 Hide all Language Pack updates in Windows Update 2018-04-21 Based on a script by Tony Marques
💾 DisableSilverlightUpdates.vbs 1.00 Hide all Silverlight updates in Windows Update 2018-04-20 Originally written in JScript by Tony Marques
💾 DispEDID.vbs 2.30 Display the monitor's EDID asset information 2010-05-27 Based on a script by Michael Baird (link no longer available)
💾 DiskTypes.vbs 1.00 BETA List disk drives and their interface type (IDE/SATA/SCSI/USB/USB3) and capacity 2012-08-07 Differentiates between IDE/SATA, and USB/USB3 based on the controllers' description fields
💾 DPPEEE.vbs 1.11 Temporarily change an Asus EEE PC's screen resolution to 1024x768 to allow running Canon's Digital Photo Professional software 2010-10-09 Requires SetRes
💾 Easter.vbs 1.01 Calculate Easter Day for a specified year 2002-12-30 Based on the instructions found at Simon Kershaw's Keeping The Feast.
Try Holidays.hta if you need to check other holidays' dates too.
💾 EjectCD.vbs 1.00 Eject the CD-ROM from the specified drive 2006-12-26 Use CDEject.vbs instead if you want to eject all CDs.
💾 Excel2XML.vbs 1.21 Convert Excel sheet to XML 2013-11-04 Requires Microsoft XMLDOM.
Does not require Excel.
Formerly known as XL2XML.vbs.
💾 ExcelRd.vbs 3.00 Read Excel files without using Excel 2012-07-20 Requires MDAC 2.8
💾 Extract.vbs 1.00 Extract files from archives (ZIP, CAB, etc) 2007-04-17 Can also be used to copy folders with progress bar and optional confirmation dialogs.
💾 FileDetails.vbs 1.00 List file details in the local language 2014-08-16  
💾 FileDiff.vbs 1.00 Check if 2 files differ in size, timestamp or version 2008-06-05 Version check will work for program files only
💾 FoxitVer.vbs 2.00 Read Foxit Reader's latest available version number from its version history page 2012-08-08  
💾 FreeSpace.vbs 1.00 Display a disk space summary 2002-10-12  
💾 FTP_Upld.vbs 1.01 Upload a file using FTP 2012-07-20 Requires ChilkatFTP ActiveX component
💾 GConv.vbs 1.10 Convert units using Google Calculator and Internet Explorer 2010-07-07  
💾 GeoIPDemo.vbs 1.00 Retrieve geographical information for host names or IP addresses 2009-04-30 Requires MaxMind's GeoIP COM wrapper and Franz Krainer's System Scripting Runtime
💾   GetDate.hta   Calculate dates like "what date will Wednesday week 23 be in 2017?", or "what day of the week is the 30th of next month?" 2010-11-05  
💾 GetDDE.vbs 1.00 List all DDE commands for all registered file types 2008-07-04  
💾 GetFoldr.vbs 1.00 Displays a "Select Folder" dialog and returns the fully qualified path of the selected folder 2010-05-30  
💾 GetMyPID.vbs 1.00 Get the script's process ID (PID) 2017-06-22  
💾 GetPrint.vbs 2.01 List Print and PrintTo commands for all registered file types 2008-06-19  
💾 GetProductVersion.vbs 1.02 Return the product version for a specified file (dll, exe, hta or msi) 2016-03-02 Based on code by Maputi and Arnout Grootveld on StackOverflow.com
💾 GetRAM.vbs 1.10 Display the amount of physical memory installed 2002-11-03 Based on WMI Scripting Primer: Part 1 by Greg Stemp, Dean Tsaltas and Bob Wells.
💾 GetRes.vbs 1.00 Display screen resolution and refresh rate 2003-01-09  
💾 GetRunDL.vbs 1.00 List all RUNDLL32 commands for file associations from the registry 2007-01-01  
💾 GetSID.vbs 1.00 Display a user's Security ID 2005-12-03  
💾 GetTxtType.vbs 1.00 Check a text file's text encoding 2011-04-13  
💾 GetUnins.vbs 3.01 List or find uninstall commands 2012-02-01  
💾 GMT.vbs 1.10 Return GMT time for the current or specified local time 2011-04-11  
💾   Hardware.hta 9.02 Display basic as well as detailed hardware summaries 2023-04-09  
💾 Hardware.vbs 2.00 Display a basic hardware summary 2013-01-11  
💾   Holidays.hta 3.12 Calculate the dates for future and past holidays 2013-05-24 Also available as on-line PHP version
Optional automatic on-the-fly update feature.
💾 HotFixes.vbs 1.00 Display installed hotfixes 2002-11-26 Based entirely on a (no longer available) sample script from Microsoft TechNet Script Center
💾 HotFixesTD.vbs 1.00 Display installed hotfixes in tab delimited format for any WMI enabled computer on the network 2002-11-26 Based entirely on a (no longer available) sample script from Microsoft TechNet Script Center
💾 iCountry.vbs 1.01 Return the country name for the specified country code 2010-08-30 Translates country codes found in the registry to their English names.
📦 IEButtons.vbs 1.11 Use IE to present a dialog window with multiple buttons 2013-11-07 Written by Denis St-Pierre.
💾 IEChgPwd.vbs 2.11 Use IE to present a change password dialog 2013-11-07  
💾 IELogin.vbs 4.00 Use IE to present a login dialog 2016-12-22  
💾 IEPwdDlg.vbs 2.15 Use IE to prompt for password 2015-10-19  
💾 IEUserIn.vbs 2.11 Use IE to prompt for user input 2013-11-07  
📦 INIFuncs.vbs 1.01 Demo script for VBScript functions to read, create and modify INI files 2007-08-23 Written by Keith Lacelle, modified by Denis St-Pierre, Johan Pol and yours truly
💾 is6432os.vbs 1.00 Check if a Windows is 32-bit or 64-bit 2010-07-04  
💾 IsCDWriter.vbs 1.00 Check whether specified drives are CD/DVD writers or not 2017-08-14  
💾 IsDST.vbs 1.10 Check if the current or specified date/time is in Daylight saving Time 2011-04-11  
💾 IsLaptop.vbs 1.00 Check if a computer is a laptop 2007-03-23 Uses the Win32_Battery WMI class to check for a battery.
💾 ISO2Date.vbs 1.00 Convert an ISO date/time to the current user's default date/time format 2011-03-17  
💾 ISO2UTC.vbs 1.00 Convert an ISO date/time to Unix time (UTC) 2011-03-16  
💾 IsSiteUp.vbs 1.00 Check if a website is up-and-running 2007-03-19 Requires X-HTTP component
💾 KillProg.vbs 1.01 Kill the specified program on any WMI enabled computer on the network 2002-10-18  
💾 KixINI.vbs 1.00 Use KiXtart COM object to read or write INI files 2010-07-01 Requires KiXtart 4.61.
KIXTART.DLL must be registered.
💾 LastBoot.vbs 2.00 Display the last boot time 2009-09-25  
💾 LeapYear.vbs 1.00 Check if the specified year is a leap year 2002-10-08  
💾 ListCert.vbs   List certificates on the local computer 2008-01-07 ALPHA version!
A first exploration of working with certificates using CAPICOM
💾 ListWMIClasses.vbs 3.01 List all available WMI classes for the specified (or default) namespace 2011-08-04  
💾 LockKitt.vbs 1.01 Flash CapsLock, NumLock and ScrollLock LEDs from left to right and back again 2004-01-11 Ends after 15 seconds.
💾 LockLoop.vbs 1.00 Flash CapsLock, NumLock and ScrollLock LEDs from left to right in loops 2003-12-31  
💾 LockRand.vbs 1.00 Flash CapsLock, NumLock and ScrollLock LEDs at random 2003-12-31  
💾 LockSnak.vbs 1.00 Flash CapsLock, NumLock and ScrollLock LEDs crawling like a snake 2004-01-02  
💾 Logoff.vbs 1.00 Logoff current user 2002-10-19 Adapted from posts by Alex K. Angelopoulos on Developersdex.com and Michael Harris on the Microsoft VBScript newsgroup.
💾 LookupURL.vbs 1.00 Display the destination URL for a redirected URL 2012-12-05  
💾 LstOffVw.vbs 1.00 List all Office Viewers and their version numbers 2008-05-17  
📦 MD.vbs 1.00 Create multi-level new folders like CMD.EXE's MD does 2007-09-13 Written by Todd Reeves, UNC functionality added by myself
💾 MDACVer.vbs 1.00 Display the currently installed MDAC version, and optionally check if it meets a required minimum version 2008-05-07  
💾 MSInfoVB.vbs 1.00 Write a full MSInfo report to a file 2007-04-23  
💾 MyFirstHTA.hta 1.00 HTA demo script 2018-01-14  
💾 NICSpeed.vbs 1.00 Display ethernet adapter's link speed 2006-01-06  
💾 NSWhoIs.vbs 1.00 Query WHOIS for domain registration information 2007-04-27 Also available as a class and component
💾 OffVer.vbs 1.00 List version/build number for all Microsoft Office programs 2009-08-05 Tested only in Windows XP SP3 with MS-Office 2007 SP2.
💾 PausePrinting.vbs 1.00 Pause printing on the specified printer 2010-07-11 Use ResumePrinting.vbs to resume printing again.
💾 PhysMem.vbs 1.01 Display a physical memory summary 2002-11-10  
💾 PingSite.vbs 1.01 Check if a web site is up and running 2007-06-21 See the Check Websites page in the VBScript Scripting Techniques section.
💾 PingU.vbs 1.00 Notifies when a computer gets on-line 2006-01-03 CheckEngine subroutine by James Lim.
💾 Print.vbs 1.00 Print any file 2008-01-20 Uses the file's associated print command from the registry.
💾 Print2.vbs 1.00 Temporarily swap the default printer to allow programs without "PrintTo" support to print to a non-default printer 2008-12-05  
💾 PrintDoc.vbs 1.00 Print the specified MS Word document to the default printer 2008-06-09 Requires Microsoft Word.
Based on a script by Arnout van der Vorst.
💾 Printing.vbs 2.20 List printer status and number of printjobs, pause or resume printing, or flush all printjobs on the selected printer(s) 2010-09-15  
💾 PrintPDF.vbs 1.00 Print the specified PDF files 2003-03-30 Requires Adobe Reader.
Based on a script written by Charles Hicks, and published on the PlanetPDF Developers Forum.
The updated script by Charles Hicks will close Acrobat Reader afterwards, unless it was active already.
💾 Processes.vbs 1.00 Display running processes 2002-10-17  
💾 ProdID.vbs 1.01 Display Windows' product ID 2002-11-30  
💾 ProgIDs.vbs 1.00 Display all available ProgIDs 2007-03-15 Based on a PowerShell script on www.readify.net
💾 PromptDemo.hta 1.00 Demonstration of Prompt, Confirm and Alert dialogs in HTAs 2013-10-15  
💾 PWGen.vbs 1.00 Generate random complex passwords of a specified length 2008-01-02 Requires CAPICOM
💾 PwdNoExp.vbs 1.00 Set "password never expires" for a local account 2007-10-01 Based on a Microsoft TechNet Script Center sample.
💾 QPro2Xls.vbs 1.00 Convert Quattro Pro spreadsheets to Excel 2009-09-14 Requires Quattro Pro
💾 QueryCD.vbs 1.01 Display album and track names for all CDs in all drives 2007-06-14 Requires Jon F. Zahornacky and Peter Schmiedseder's uFREEDB.ocx.
To register the component use the command REGSVR32 uFREEDB.ocx
💾 Random.vbs 1.00 Display a random (integer) number between 1 and 100 2002-12-29  
💾 Random.wsc 1.00 This WSC uses random.org to retrieve true random integers 2007-08-15 Requires WinHTTP 5.1. 
💾 ReadINI.vbs 1.00 Read a value from the specified INI file 2003-04-19  
💾 ReadReg.vbs 1.00 Read a value from the registry 2003-04-06 Based on "Registry functions Provided by the WMI StdRegProv class" by Andrew Mayberry.
💾 Reboot.vbs 2.10 Reboot any computer 2007-11-21 Based on a post by Alex K. Angelopoulos on Developersdex.com.
See my Shutdown page for shutdown and reboot commands for "all" operating systems.
💾 Recycle.vbs 2.01 Send the contents of a folder to the Recycle Bin 2020-12-01  
💾 Reg2Scr.vbs   Read a registry key and generate KiXtart and VBScript code to recreate that registry key 2008-07-07 Works from any computer to any computer
📦 Reg2Vbs.vbs 1.51 Converts all .REG files in current directory to VBScript in one shot 2012-02-17 Original script by Tim Mortimer, extended by Denis St-Pierre.
Make sure you read the logged comments in the resulting scripts!
💾 Regedit.vbs 1.00 Open Windows 2000's REGEDIT.EXE in "classic" view (root) instead of last accessed key 2002-04-16 Tip and VBScript file from the Windows Scripting Guide
💾 ResizeVideo.hta 1.00 Use FFMPEG to resize a video and save it in MP4 format 2021-05-06 Requires FFMPEG 4+
💾 ResumePrinting.vbs 1.00 Resume printing on the specified printer 2010-07-11 Use PausePrinting.vbs to pause printing.
💾 Revo_Ver.vbs 2.00 Read the latest available uninstaller version from Revo's website 2012-08-08 Requires WinHTTP 5.1. 
💾 RFaR.vbs 1.00 Regex Find and Replace 2010-07-30 Can be used to replace text in ASCII files or strings.
Limited testing on XML files suggests UTF-8 is handled correctly as long as no Unicode characters need to be found or replaced.
💾 RipCD.vbs 1.00 Save audio CD tracks as MP3s 2015-11-24 Requires VLC Media Player.
Based on a batch file by elrobis, to which I added automatic detection of VLC path and CDROM drive letter and an option to use translated or customized messages
💾 RndClass.vbs   This class retrieves true random numbers from random.org 2007-08-13 Requires WinHTTP 5.1. 
💾 RndComp.vbs 1.00 Demo script retrieves true random numbers from random.org using Random.wsc component 2007-08-15 Requires WinHTTP 5.1.
The VBScript uses the Windows Script Component to retrieve the random integers
💾   Romans.hta 2.00 Convert Roman numerals to decimal vv. 2013-11-12 Also available as on-line JavaScript version
💾 RotateVideo.hta 1.00 Use FFMPEG to rotate a video and save it in MP4 format 2021-05-05 Requires FFMPEG 4+
💾 RunNHide.vbs 2.00 Run a command hidden 2007-10-24 Based on a similar script by Alistair Johnson; I added some basic error checking and the possibility to use multiple command line arguments.
💾 SearchMSI.vbs 1.01 List all MSI files in a folder and its subfolders, and optionally search them for the specified file(s) 2016-12-15 Based on ListMSI.vbs by Adriaan Westra.
💾 SecStat.vbs 2.01 Display a SecurityCenter and Windows Update status overview 2009-09-29 Requires Windows XP SP2 or SP3.
Use to find all properties for a specific AntiVirus or Firewall product.
💾 SecStat2.vbs 1.01 Display a SecurityCenter and Windows Update status overview 2016-01-30 Requires Windows Vista or later.
Use WBEMTEST.EXE to find all properties for a specific AntiVirus or Firewall product.
💾 SelFile.vbs 1.00 Displays a "Select File" dialog and returns the selected file name 2010-05-31 Known issue: though the returned file name is correct, the returned path is not
💾 SendClip.vbs 1.01 Send a full path or any text string to the clipboard 2002-11-19  
💾 Services.vbs 1.00 Display all services 2002-11-02  
💾 ServicesTD.vbs 1.00 Display all services for any WMI enabled computer on the network in TAB delimited format 2002-11-02  
💾 SetDate.vbs 1.10 Set today's day, month, year, week and quarter in environment variables 2009-07-25 When scheduled every midnight and at system startup, your batch files can read the day, month, year, week, quarter, weekday and day of the year directly from environment variables.
This can be very useful in backup directory names, log file names, etc.
💾 SFaR.vbs 1.00 Simple Find and Replace 2010-07-14 Can be used to replace text in ASCII files or strings.
Limited testing on XML files suggests UTF-8 is handled correctly as long as no Unicode characters need to be found or replaced.
💾 ShareMg2.vbs 2.00 Migrate all non-printer shares from one server to another 2005-11-02 Currently for Windows Server 2003, created migration script needs manual modifications afterwards for Windows 2000.
(For printer migration, read the Printing section of my Unattended Installations page, for Scheduled Tasks migration, read the Scheduled Tasks section).
💾 Shortcut.vbs 1.00 Create, modify or delete shortcuts 2013-03-25  
💾 ShowPRN.vbs 1.00 Display all installed printers and their properties 2004-01-13  
💾 ShowPRNT.vbs 1.01 Display all installed printers and their properties for any WMI enabled computer on the network in TAB delimited format 2004-01-17  
💾 Shutdown.vbs 1.10 Shutdown any WMI enabled computer on the network 2007-11-21 Based on a post by Alex K. Angelopoulos on Developersdex.com.
See my Shutdown page for shutdown and reboot commands for "all" operating systems.
💾 SID2User.vbs 1.00 Return DOMAIN\UserID for the specified SID 2009-09-25 Based on an article by the Microsoft Scripting Guys.
💾 SkypeVer.vbs 1.00 Display installed Skype software version 2009-09-16  
💾 SnagTest.vbs 1.01 Automated SnagIt screen capture 2008-01-28 Requires SnagIt 5.1
💾   Software.hta 3.02 List installed software 2013-12-17  
💾 SortDate.vbs 1.00 Display the date in YYYYMMDD format 2002-12-29  
💾 SortTime.vbs 1.00 Display the time in HHmmss format 2002-12-29  
💾 SrvInv.vbs 1.21 Show and log a server hardware and software inventory 2005-09-14  
💾 StarDate.vbs 1.00 Convert current date & time to stardate 2003-02-03 Based on an algorithm found on The StarTrek Gallery
💾 Startup.vbs 1.00 Display all startup commands (Startup folder and registry Run) 2003-01-16  
💾 StringHash.vbs 1.00 Get the MD5 or SHA-256 hash value for the specified string 2010-07-30 This script uses the MD5 and SHA256 classes by Frez Systems Limited, which were adapted for use in VBScript by Michal Gabrukiewicz (MD5) and yours truly (SHA-256).
💾 TimeSyncWeb.vbs 1.00 Synchronize your computer's system time with any webserver 2014-01-10  
💾 Tomorrow.vbs 1.01 Display yesterday's, today's and tomorrow's date in several formats 2017-03-07  
💾 Tomorrow.js 1.00 Display yesterday's, today's and tomorrow's date in several formats 2002-12-29  
💾 TrueRnd.vbs 1.00 Retrieve true random numbers generated by random.org, not a value from a stored semi-random sequence 2007-08-11  
💾 Txt2ASCI.vbs 1.00 Convert any "plain" text file to US ASCII 2009-09-03  
💾 Txt2Src.vbs 2.00 Convert "special" characters in a text file to HTML entities 2009-05-04 I wrote this script to convert my own scripts to HTML source code.
As of version 2.00 this script supports codepage selection on the command line.
Codepages 437, 850, 858 and 1252 are supported, you can add other codepages yourself.
💾 Txt2UTF8.vbs 1.00 Convert plain ASCII files to UTF-8 2009-02-12 Requires MDAC 2.8.
Based on a forum post by JTMar.
📦 Txt2Vbs.vbs   Convert .TXT files into VBScript code that can recreate the .TXT file 2008-10-23 Script by Denis St-Pierre.
The .TXT file could be any text file, even another script.
💾   UpdateCheck.hta 1.40 Check if a newer version of the specified program is available, and if so offer to download it 2014-12-18 Requires UpdateCheck.ini and WinHTTP 5.1.
Adds a GUI to UpdateCheck.vbs; the HTA and VBScript versions share the same INI file.
💾 UpdateCheck.ini 1.40 Helper file for UpdateCheck.hta and/or UpdateCheck.vbs 2014-12-18  
💾 UpdateCheck.vbs 1.08 Check if a newer version of the specified program is available, and if so open its download URL 2013-07-17 Requires UpdateCheck.ini and WinHTTP 5.1.
Replaces UpdateVueScan.vbs and UpdateDPP.vbs; modify the INI file to add update checks for other programs.

Discontinued, use the HTA instead.
💾 UpdateDPP.vbs 1.01 Check if a newer version of Canon's Digital Photo Professional (DPP) is available, and if so open its download URL 2013-02-18 Requires WinHTTP 5.1. 
💾 UpTime.vbs 1.00 Display server uptime 2006-04-22  
💾 User2SID.vbs 1.00 Return the SID for the specified user ID 2009-09-25 Based on an article by the Microsoft Scripting Guys.
💾 UTC2Date.vbs 1.00 Convert Unix time (UTC) to the current user's default date/time format 2011-03-18  
💾 UTC2ISO.vbs 1.01 Convert Unix time (UTC) to ISO date and/or time 2011-03-16  
📦 VBS2CMD.vbs 1.02 "Convert" VBScript to batch file 2014-08-07 Actually more a "packager": the script wraps a VBScript file into a single self-contained batch script that recreates the original VBScript and then runs it.
Written by Denis St-Pierre, adapted for non-XP Windows versions by Rob van der Woude.
💾 VBSEdVer.vbs 1.01 Read the latest available version of VBSEdit from its download page 2012-08-19 Requires WinHTTP 5.1. 
💾 VBSNames.vbs 3.00 Demonstrates several VBScript techniques to retrieve user names, computer names & domain names 2007-01-22 Demo script from my VBScript scripting techniques section.
💾 VideoROM.vbs 1.00 Display video adapter summary 2002-12-01  
💾 VMList.vbs 1.00 List all Virtual Machines and their associated files on the local Virtual Server Host 2006-04-22 Requires Microsoft Virtual Server 2005
💾 Wallpaper.vbs 1.01 Change the Desktop's wallpaper 2008-08-13 Lots of command line switches, use /? to list all options.
💾 WANIP.vbs 2.01 Get your WAN IP address 2018-12-13 Requires XMLHTTP
💾 Week.vbs 2.00 Calculate the ISO week number for any date 2011-02-10  
💾 WGet.vbs 1.01 Display or save a web page 2011-01-06  
💾 WGetTxt.vbs 2.00 Display or save a web page without the HTML formating 2010-12-31  
💾 Which.vbs 1.20 Find out which file is executed when you type a command 2014-07-24 The VBScript version also checks for internal commands, thus emulating the behaviour of the command interpreter
💾 WhiteBackground.hta 1.00 Create a temporary white desktop background, e.g. to allow cleaner screen captures 2015-08-10 Right-click or press the ESC key to abort the HTA.
💾 WhoIs.vbs 3.00 Display the WHOIS database entry for the specified domain in the default browser 2003-01-12  
💾 WhoIs.wsc 1.01 WSC to query WHOIS for domain registration information 2007-06-14 See the Whois WSC section for more details.
💾 WhoIsCls.vbs 1.01 Class to query WHOIS for domain registration information 2007-05-05 This script demonstrates and includes my WhoIs class, which is much more flexible than my previous WhoIs scripts.
See the Whois Class section for more details.
💾 WhoIsCom.vbs 1.00 Query WHOIS for domain registration information (demo for WhoIs.wsc) 2007-06-14 This script demonstrates my WhoIs.wsc component, which is much more flexible than my previous WhoIs scripts.
See the Whois WSC section for more details.
💾 WinInVer.vbs 1.01 Display the currently installed Windows Installer version, and optionally check if it meets a required minimum version 2008-05-08  
💾 Wildcards.vbs 1.00 Handle DOS wildcards in VBScript 2017-01-31  
💾 WildcardsLE.vbs 1.00 Handle DOS wildcards in VBScript 2017-02-02 Light Edition of Wildcards.vbs handles file names only, no paths.
💾 WinVer.vbs 1.11 Display the Windows version 2005-07-26  
💾   WMIGen.hta 9.03 Generate Batch, C#, Delphi, F#, Java, JScript, KiXtart, Lua, Object Pascal, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries 2016-01-28 Discontinued; succeeded by WMIGen.exe (witten in C#).
💾 Word2Any.vbs 1.01 Convert Word documents to "any" known file format 2016-01-15 Requires Microsoft Word 2007 and Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office
💾 Word2PDF.vbs 1.11 Convert Word documents to PDF 2016-01-06 Requires Microsoft Word 2007 and Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office
💾 Word2RTF.vbs 1.00 Convert Word documents to RTF 2007-04-07 Requires Microsoft Word. 
💾 Word2XPS.vbs 1.00 Convert Word documents to XPS 2007-04-07 Requires Microsoft Word 2007 and Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office
💾 WPD2Doc.vbs 1.00 Convert WP documents to Word 2009-06-09 Requires Corel WordPerfect Office
💾 WP2PDF.vbs 1.00 Convert WP documents to PDF 2007-03-10 Requires Corel WordPerfect Office
💾 WPSaveAs.vbs 1.00 Convert WP documents to HTML or any other supported format 2007-02-12 Requires Corel WordPerfect Office
💾 WSaveAs.vbs 2.00 Convert Word documents to HTML 2011-12-12 Requires Microsoft Word. 
💾 WUpdHist.vbs 1.00 List or query the Windows Update history 2008-01-01  
💾 WSHVer.vbs 1.10 Display the WSH version number, or part of it, and optionally compare it against a required minimum version 2011-08-15  
💾 XHTTPDmo.vbs 1.00 Script to demonstrate file downloads with X-HTTP 2007-03-19 Requires X-HTTP component
💾 XL2CSV.vbs 1.00 Convert Excel sheet to CSV 2009-01-08 Requires Excel. 
💾 XL2XML.vbs 1.10 Convert Excel sheet to XML 2010-02-26 Requires Microsoft XMLDOM.
Does not require Excel.
Obsolete, superseded by Excel2XML.vbs
💾 XMD5Demo.vbs 1.00 Script to demonstrate using X-MD5 to calculate MD5 checksums 2007-03-19 Requires X-MD5 component
💾 XZipDemo.vbs 1.00 Script to demonstrate using X-ZIP to create or extract ZIP files 2007-03-19 Requires X-ZIP component
💾 YahooFX.vbs 1.00 Command line currency conversion 2007-07-02 Uses Yahoo! Finance's Currency Converter
💾 Yesterday.vbs 1.01 Display today's and yesterday's date in several formats 2002-04-01  
💾 YFXClass.vbs 1.00 Extended command line currency conversion demo using a class 2007-07-03 Uses Yahoo! Finance's Currency Converter
💾 ZipDirXP.vbs 1.01 Recursively ZIP an entire folder 2016-06-07 Based on a VBA script by Ron de Bruin

 

All 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 


page last modified: 2023-04-09; loaded in 0.1086 seconds