Batch Files: Examples (A)

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 A2U.bat 1.10 Convert ASCII text files to valid Unicode W2K 2011-05-10 Written by Carlos M.
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 ActUsr.bat 1.00 Display computers on the network and their logged on users NT 2002-09-30  
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 Add.cmd 1.02 Add really big numbers (beyond Windows' 32-bit integer limits) NT 2012-07-20 Written by Brian Williams
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 AddIPPrn.bat 1.01 Add a local TCP/IP printer on any W2K/XP computer in the network W2K 2006-01-31 Requires PRNADMIN.DLL
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 AddMySQLPort.bat 1.00 Open port 3306 for MySQL in XP's Firewall XP 2006-07-29 Requires NETSH.
Written by Willi Huber.
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 AddPrint.bat 1.01 Add a network printer on any W2K/XP computer in the network W2K 2005-06-11 Requires RUNDLL32
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 AdminGrp.bat 3.00 Remotely update Local Administrator groups on all PCs in a domain (except PCs listed in an exclusion file) NT 2000-11-29 Requires USR2GRP.
Written by Kenneth C. Mazie, Kaiser Permanente National Server Operations - Walnut Creek, Ca
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 AdOnGone.bat 1.00 Restore disappeared Firefox add-ons after a Firefox update W2K 2008-03-28  
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 ADSHelp.bat 2.10 Create a (HTML) help file for "all" Directory Service Command Line Tools in Windows Server 2003 W2K3 2007-06-04 Requires Windows Server 2003's DS Tools.
Will only display help for the OS in which the HTML file was created -- in the language of that OS version, as is demonstrated here.
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 AllHelp.bat 1.40 Create a (HTML) help file for "all" NT4/2000/XP commands NT 2006-10-26 More details and samples of generated HTML pages on my AllHelp page.
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 APIPA.bat 1.00 Display or modify Windows 2000 IP Autoconfiguration (APIPA) settings W2K 2002-03-03 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 AppCompat.bat 1.01 Add an Application Compatibility Layer for the specified program W7 2011-10-18  
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 Asc.bat 1.00 Return the ASCII value for the specified character, more or less like many scripting languages' Asc( ) function NT 2007-12-15 Requires DEBUG.
Creates a temporary utility that performs the conversion.
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 ASCII2Uc.bat 2.01 Convert ASCII text files to valid Unicode W2K 2011-02-28 Requires DEBUG.
This batch file was based on research by Jacques Bensimon.
Creates a temporary utility to write the Unicode file header.
Embedded ASM code by JustBurn.
64-bit Windows uses either an "external" header file (ASCII2Uc.header) or ECHO instead of DEBUG; ECHO will insert an extra line break.
Also available in VBScript.
This batch file has become obsolete by Carlos M.'s A2U.bat, which overcomes this batch file's Unicode header problems.
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 AtFuture.bat 1.20 Schedule a command a few minutes from now in the near future NT 2008-04-22 This batch file was a coproduction with Rob Fuller
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 AVG8Ver.bat 1.00 Display any computer's AVG8 AntiVirus program and virus definitions versions W2K 2008-12-23 Requires FILEVER and REG 3.0. 

 

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