Rob van der Woude's Scripting Pages

WSH: Examples (P)

HTA, JScript, VBScript and WSC examples

Download the ZIPped sources Click the floppy disk icons to download the ZIPped sources

Checksums for 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
Click the floppy disk icons to download the ZIPped sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped sources Name Version Description Last modified
(yyyy-mm-dd)
Remarks
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PausePrinting.vbs 1.00 Pause printing on the specified printer 2010-07-11 Use ResumePrinting.vbs to resume printing again.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PhysMem.vbs 1.01 Display a physical memory summary 2002-11-10  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source 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.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PingU.vbs 1.00 Notifies when a computer gets on-line 2006-01-03 CheckEngine subroutine by James Lim.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source Print.vbs 1.00 Print any file 2008-01-20 Uses the file's associated print command from the registry.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source 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  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source 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.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source 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  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source 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.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source Processes.vbs 1.00 Display running processes 2002-10-17  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source ProdID.vbs 1.01 Display Windows' product ID 2002-11-30  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source ProgIDs.vbs 1.00 Display all available ProgIDs 2007-03-15 Based on a PowerShell script on www.readify.net
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PromptDemo.hta 1.00 Demonstration of Prompt, Confirm and Alert dialogs in HTAs 2013-10-15  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PWGen.vbs 1.00 Generate random complex passwords of a specified length 2008-01-02 Requires CAPICOM
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PwdNoExp.vbs 1.00 Set "password never expires" for a local account 2007-10-01 Based on a Microsoft TechNet Script Center sample.

 

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 uploaded: 2015-08-24, 21:18