Batch Files: Examples

Download the ZIPed sources Click the floppy disk 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
(yyyy-mm-dd)
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 VBSAssoc.bat 1.00 (Temporarily) change the .VBS file type association to CSCRIPT.EXE NT 2008-03-27 The batch file creates another batch file which can restore the original file type association
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 VideoROM.bat 1.00 Displays manufacturer information from video adapter ROM DOS 2003-03-02 Requires DEBUG.
Original idea by ComputerHope.
Also available in Kix, Perl, Rexx and 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 VideoROM.bat 2.00 Displays manufacturer information from video adapter ROM NT 2003-03-02 Requires DEBUG.
Much simpler than versions 3 and 4.
Also available in Kix, Perl, Rexx and 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 VideoROM.bat 3.00 Displays manufacturer information from video adapter ROM NT 2003-03-02 Requires DEBUG.
Works without temporary files.
Also available in Kix, Perl, Rexx and 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 VideoROM.bat 4.00 Displays manufacturer information from video adapter ROM NT 2003-03-02 Requires DEBUG.
The most complex version, but it gives the "cleanest" output.
Also available in Kix, Perl, Rexx and 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 VipreVer.bat 1.00 Display any computer's Sunbelt Vipre AntiVirus program and virus definitions versions W2K 2008-12-23  

 

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
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)
W2K Windows 2000, 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
QR Code for http://www.robvanderwoude.com/batexamples.php?fc=V

unique visitors since July 2007

page last uploaded: 2 September 2010, 18:50