Batch files - Examples (W*)

 

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

 

Click the diskette icon to dowload the ZIPped source Click the floppy disk icons to download the ZIPped sources

 

Batch file examples
Click the diskette icon to dowload the ZIPped source Name Description OS (1) Last modified
(DD/MM/YYYY)
Remarks
Click the diskette icon to dowload the ZIPped source Wait Wait for a specified number of seconds All 04/06/2000 Use the Resource Kit's SLEEP.EXE in NT, and RexxUtil's SysSleep function in OS/2
Click the diskette icon to dowload the ZIPped source Wallpapr Randomly change bitmaps for background screen W2K 21/08/2004 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 diskette icon to dowload the ZIPped source WANIP.bat Display your WAN connection's IP address and host name NT 29/01/2009 Idea: Gregg Dotoli.
Uses WGET to read WAN IP address.
Also available in VBScript.
Click the diskette icon to dowload the ZIPped source Week.bat Display week number. DOS 07/10/2001 Requires Solid Oak Software's WEEKOFYR.COM.
Also available as Kix, Rexx, Perl or VBScript script.
Click the diskette icon to dowload the ZIPped source Week.bat Display week number. NT 07/10/2001 Also available as Kix, Rexx, Perl or VBScript script.
Click the diskette icon to dowload the ZIPped source Which A Unix-like WHICH utility All 29/01/2004 Available for DOS, NT and OS/2 (Rexx) and as KiXtart and Perl scripts
Click the diskette icon to dowload the ZIPped source WhoAmI.bat Show info on workstation and current user NT OS2 12/06/2000 Also available for OS/2 as WhoAmI.cmd
Click the diskette icon to dowload the ZIPped source WhoHasIt.bat Show info on remote workstation and current user W2K 21/10/2004 Requires Windows Server 2003's DS Tools
Click the diskette icon to dowload the ZIPped source WhoIs.bat Display WHOIS database entry for the specified domain. All 12/10/2002 Also available as VBScript script
Click the diskette icon to dowload the ZIPped source WhoIsIt.bat Show specified domain user's display name.
Uses DSQUERY & DSGET from Windows Server 2003.
W2K 21/10/2004 Requires Windows Server 2003's DS Tools
Click the diskette icon to dowload the ZIPped source WhoRU.bat Remote WhoAmI (Who Are You) NT+RK 15/10/2000  
Click the diskette icon to dowload the ZIPped source Win3264.bat Check if Windows is a 32 or 64-bits version NT 27/12/2009  
Click the diskette icon to dowload the ZIPped 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 14/09/2009  

 

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 meant 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
Kix Windows (most functions also in plain DOS) with KiXtart
NT4 Windows NT 4 (Windows NT 4 Terminal Server Edition too)
NT Windows NT (Windows 2000 and Windows NT 4 Terminal Server Edition too)
NT+RK Windows NT with Resource Kit (Windows NT 4 Terminal Server Edition with Resource Kit too)
W2K Windows 2000, and probably XP and Server 2003 as well
W2K+RK Windows 2000 with (Server) Resource Kit, and (probably) XP and Server 2003 as well
W2K3 Windows Server 2003
XP Windows XP
OS2 OS/2 Warp
TS Windows NT 4 Terminal Server Edition, or Windows 2000 Server or Windows Server 2003 with Terminal Services

unique visitors since July 2007

page last uploaded: 15 March 2010, 21:20