Rob van der Woude's Scripting Pages

Batch Files: Examples (Y)

💾 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
💾 Yesterday.bat 3.12 Display yesterday's, today's and tomorrow's dates in two formats NT 2024-04-09 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 in JScript, KiXtart, Perl, Rexx and VBScript.
💾 Youless.bat 1.00 Read data from a Youless LS120 energy monitor device NT 2023-03-25 Requires wget
💾 YoulessBar.bat 1.00 Read data from a Youless LS120 and show result in a progress bar NT 2023-03-30 Requires wget and ProgressBar

 

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-10-09; loaded in 0.0088 seconds