Batch Files: Examples (W)

Download the ZIPed sources Click the floppy disk or Download the ZIPed sources icons to download the ZIPed sources

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

 

 

All 0..9 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

 

Batch file examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Version Description OS (1) Last modified Remarks
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Wait   Wait for a specified number of seconds All 2000-06-04 Requires SLEEP (NT) or RexxUtil's SysSleep function (OS/2). 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Wallpapr.bat 1.00 Randomly change bitmaps for background screen W2K 2004-08-21 Read the comments in the script before using it.
Also available as OS/2 Rexx, Windows Rexx and VBScript scripts.
Use SetWallp.bat or Wallpaper.vbs if you want to specify the bitmap yourself.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WANIP.bat 4.00 Display your WAN connection's IP address and host name NT 2009-01-29 Requires WGET.
Idea: Gregg Dotoli.
Also available in VBScript.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WANIP.bat 1.00 Display your WAN connection's IP address NT 2010-09-28 Requires PHP.
Idea: Stan Littlefield
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Week.bat   Display week number. DOS 2001-10-07 Requires WEEKOFYR.
Also available as KiXtart, Rexx, Perl or VBScript script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WeekNT.bat 1.00 Display week number. NT 2001-10-07 Also available as KiXtart, Rexx, Perl or VBScript script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WeekPHP.bat 1.01 Display the ISO week number. NT 2011-03-01 Requires PHP.
The most accurate version so far.
Also available as KiXtart, Rexx, Perl or VBScript script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WeekXP.bat 1.02 Display the ISO week number. XP 2011-02-14 Requires WMIC.
More accurate than the NT version, but still not flawless.
Also available as KiXtart, Rexx, Perl or VBScript script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Which.bat 1.00 A Unix-like WHICH utility DOS 1999-05-30 Available for NT and OS/2 (Rexx) and as KiXtart and Perl scripts
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Which.bat 5.20 A Unix-like WHICH utility NT 2012-06-11 Co-author: Yakov Azulay
Available for DOS and OS/2 (Rexx) and as KiXtart and Perl scripts
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Which.bat 6.11 A Unix-like WHICH utility XP 2014-10-01 Co-author: David Riemens
Available for DOS and OS/2 (Rexx) and as KiXtart and Perl scripts
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WhoAmI.bat   Show info on workstation and current user NT 2000-06-12 Also available for OS/2 as WhoAmI.cmd
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WhoHasIt.bat 1.00 Show info on remote workstation and current user W2K 2004-10-21 Requires Windows Server 2003's DS Tools
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WhoIs.bat 2.00 Display WHOIS database entry for the specified domain. All 2002-10-12 Also available as VBScript script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WhoIsIt.bat 1.00 Show specified domain user's display name W2K 2004-10-21 Requires Windows Server 2003's DS Tools
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WhoRU.bat 3.11 Remote WhoAmI (Who Are You) NT 2000-10-15 Requires GETMAC, GETSID, SRVINFO and WINSDMP
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Win3264.bat 1.00 Check if Windows is a 32 or 64-bits version NT 2009-12-27  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WinSAT.bat 1.00 Return Windows System Assessment Tools's (WinSAT) scores for the specified computer XP 2013-11-20 Requires WMIC
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WinUpd.bat 1.00 Reenable Windows' Update feature 95 NT 2002-04-10 Also available as KiXtart script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WinVer.bat 1.00 Display Windows version NT 2009-10-12 Written by Denis St-Pierre.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WinVer2.bat 1.00 Display Windows version and optionally check if it meets the specified minimum required NT 2011-01-05  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WUTest.bat   Checks time of last Windows Update install against time of last download, and reports a failure if the last download was later XP 2009-09-14  

 

All 0..9 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

 

Notes: (1) Operating System version these batch files were written for
All No version specific commands are used, though it is (obviously) not tested with every DOS version available
95 Windows 95 (and probably Windows 98 as well)
98 Windows 98
DOS3 MS-DOS 3 and 4
DOS6+ MS-DOS 6 and later
NT Windows NT 4 and later
NT4 Windows NT 4 (Windows NT 4 Terminal Server Edition too)
W2K Windows 2000 and later
XP Windows XP
W2K3 Windows Server 2003
W2K8 Windows Server 2008
WV Windows Vista
W2K8R2 Windows Server 2008 Release 2
W7 Windows 7
OS2 OS/2 Warp
TS Windows NT 4 Terminal Server Edition, or Windows Server 200* with Terminal Services

page last uploaded: 18 November 2012, 19:31