Rob van der Woude's Scripting Pages

Batch Files: Examples (M)

💾 Click the floppy disk or package (for third party scripts) 📦 icons to download the ZIPped sources

Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped 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
💾 Name Version Description OS (1) Last modified Remarks
💾 MacAddress   Find the MacAddress of your network adapter 95 98 NT OS2 2002-12-07  
💾 MakeTemp.bat 2.10 Create a temporary file with a more or less random unique name NT 2011-11-17  
💾 Manage.bat 1.00 Open a remote Computer Management Console W2K 2005-09-26  
💾 Max.bat 1.00 Returns the highest from a list of values on the command line NT 2011-04-10  
💾 MD5.bat   Calculate the MD5 checksum for the specified string NT 2010-07-15 Requires PHP
💾 MdmCmds.bat 1.00 Display the available configuration commands for your modem(s) XP 2006-10-12 Requires WMIC
💾 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
💾 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.
💾 MergePDFs.bat 1.00 Merge multiple PDF files into a single new one NT 2012-05-01 Requires PDFTK
💾 MidiTitl.bat 1.01 Display titles of specified MIDI files NT 2004-01-20 Requires STRINGS.
Also available as Perl script.
💾 Min.bat 1.00 Returns the lowest from a list of values on the command line NT 2011-04-10  
💾 Modems.bat 1.01 List all modems installed on the computer W2K 2003-12-23 Requires DEVCON
💾 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).
📦 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.
💾 MSIInfo.bat 1.00 Find and run the latest installed version of MsiInfo.exe NT 2010-10-11 Requires the Windows SDK
💾 MTUTest.bat 1.00 Check if the current MTU setting is optimal W7 2014-08-01 Based on a tutorial by Harrison Fleetwood.
📦 Multiply.cmd 1.2 Multiply really big numbers (beyond Windows' 32-bit integer limits) NT 2011-05-14 Written by Brian Williams.
📦 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.
💾 MyAccess.bat 1.10 Check the current user's permissions for the specified resource W2K 2004-01-18 Requires MYTOKEN
💾 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 ZIPped sources.
💾 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
W10 Windows 10
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 modified: 2024-06-07; loaded in 0.0299 seconds