Rob van der Woude's Scripting Pages

Batch Files: Examples (E)

💾 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
💾 Easter.bat 3.01 Calculate dates for Easter Day, Ascension Day and Pentecost for any year XP 2024-04-20 Easter Day calculation based on the instructions found at Simon Kershaw's "KEEPING THE FEAST, A companion to the Holy Days of the Calendar 2000".
Julian date math based on Fliegel-Van Flandern algorithm from the Astronomical Almanac, provided by Doctor Fenton on the Math Forum, and converted to batch code by Ron Bakowski.
Also available as KiXtart, Perl, Rexx or VBScript script.
💾 EasterPHP.bat 1.01 Calculate Easter date for the current or specified year NT 2011-12-29 Requires PHP
💾 Edit.bat 1.11 Open the specified file in the editor registered for its file type XP 2021-11-14  
💾 E-mail   Send batch file generated e-mail messages NT 2000-01-15  
💾 ErrLevel.bat   Show errorlevel of previous command All 1999-07-18  
💾 ErrorMsg.bat 2.00 List all error messages known by the NET HELPMSG command NT 2014-08-22  
💾 EXIFInfo.bat   Return the requested EXIF value for the specified file(s) W2K 2012-09-30  
💾 Expires.bat 1.00 Lists all user accounts that have "Password expires" set to "Never" NT 2000-09-21  
💾 ExpPrnDr.bat 1.01 Export Printer Drivers W2K 2009-12-20 Requires DEVCON

 

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-04-20; loaded in 0.0272 seconds