Batch files - Examples (E*)

Download the ZIPped sources Click the floppy disk icons to download the ZIPped sources

 

Batch file examples
Download the ZIPped sources Name Description OS (1) Last modified
(DD/MM/YYYY)
Remarks
Download the ZIPped sources Easter.bat Calculate dates for Easter Day, Ascension Day and Pentecost for any year NT 11/01/2008 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".
Also available as Kix, Perl, Rexx or VBScript script.
Download the ZIPped sources E-mail Send batch file generated e-mail messages 95 98 NT 15/01/2000  
Download the ZIPped sources ErrLevel.bat Show errorlevel of previous command All 18/07/1999  
Download the ZIPped sources Expires.bat Lists all user accounts that have "Password expires" set to "Never" NT 21/09/2000  

 

 

Notes: (1) Operating System version these batch files were meant 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)
NT+RK Windows NT with Resource Kit (Windows NT 4 Terminal Server Edition with Resource Kit too)
W2K Windows 2000, and probably XP and Server 2003 as well
W2K+RK Windows 2000 with (Server) Resource Kit, 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