Batch Files: Examples (M)

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 MacAddress   Find the MacAddress of your network adapter 95 98 NT OS2 2002-12-07  
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 MakeTemp.bat 2.10 Create a temporary file with a more or less random unique name NT 2011-11-17  
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 Manage.bat 1.00 Open a remote Computer Management Console W2K 2005-09-26  
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 Max.bat 1.00 Returns the highest from a list of values on the command line NT 2011-04-10  
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 MD5.bat   Calculate the MD5 checksum for the specified string NT 2010-07-15 Requires PHP
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 MdmCmds.bat 1.00 Display the available configuration commands for your modem(s) XP 2006-10-12 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 MemberOf.bat 2.01 (Recursively) list all groups of which the specified user is a member. W2K 2011-07-19 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 Memory.bat 1.01 Show the amount of RAM in MB NT 2001-04-29 Requires PSTAT.
Use GetRAM.bat instead if you do not have the NT Resource Kit available
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 MergePDFs.bat 1.00 Merge multiple PDF files into a single new one NT 2012-05-01 Requires PDFTK
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 MidiTitl.bat 1.01 Display titles of specified MIDI files NT 2004-01-20 Requires STRINGS.
Also available as Perl 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 Min.bat 1.00 Returns the lowest from a list of values on the command line NT 2011-04-10  
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 Modems.bat 1.01 List all modems installed on the computer W2K 2003-12-23 Requires DEVCON
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 Modified   Check if a file was created or modified today All 1999-09-30 Separate version for NT and OS/2 (*.CMD instead of *.BAT)
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 MovePictures.bat 1.00 Move photographs from a camera to a folder with the date in its name NT 2005-01-30 Written by Gordon Schumacher
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 MSIInfo.bat 1.00 Find and run the latest installed version of MsiInfo.exe NT 2010-10-11 Requires the Windows SDK
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 Multiply.cmd 1.2 Multiply really big numbers (beyond Windows' 32-bit integer limits) NT 2011-05-14 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 MVol-E.bat 2.1 Remount any PHYSICAL volume from the letter E: to the first available letter R:, T:, V: or X: XP 2006-01-01 Requires MOUNTVOL.
Written by Jos van der Esch
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 MyAccess.bat 1.10 Check the current user's permissions for the specified resource W2K 2004-01-18 Requires MYTOKEN
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 MyPRN.bat 1.00 List all printers and printer drivers installed on the local PC NT 2002-01-12 Bonus C# source and compiled EXE included with ZIPed sources
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 MyPRN2K.bat 1.00 List all printers and their properties, and save the results in a tab delimited file W2K 2003-12-16  

 

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