Batch Files: Examples (T)

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 Tangent.bat   Calculate the tangent for the specified angle in radians 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 TangentDeg.bat   Calculate the tangent for the specified angle in degrees 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 TaskMgr.bat 1.00 Disable or reenable task manager NT 2002-03-15  
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 Tee 2.11 Display standard input on screen and simultaneously redirect it to a file NT 2009-04-17 Explained (a little) on my TEE page.
Also available as Perl and Rexx scripts
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 TempNWD.bat 1.00 Temporarily map a network drive or use an existing mapping, and remove it afterwards (unless an existing mapping was used). NT 2001-04-29  
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 TimeMark.bat   Set environment variables with the time the batch file was run, hours, minutes, seconds and hundredths of seconds NT 2009-11-15 The values refer to the time the batch file was run, they will not be updated to the current time
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 TimeShift.bat 1.01 Convert date/time from any timezone to local date/time NT 2011-04-11 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 Today.bat 1.10 Display the current date in DDMMYYYY or YYYYMMDD format, with any delimiter you want W2K 2009-01-20 Requires DEBUG
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 TodayNow.bat 1.10 Display the current date and time in YYYYMMDDHHmmss format without any delimiters NT 2009-01-20 Requires DEBUG
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 TrueName.bat 2.00 Display the true path of SUBSTed or mapped network drives NT 2007-12-21 This script is for CMD.EXE; TRUENAME is a native, internal command in COMMAND.COM.
Also available as OS/2 Rexx script.
Thanks to John Taylor for reporting a "space bug" in the previous version.
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 Twirly.bat 1.00 Display "rotating" characters XP W2K3 2009-05-28 Written by Brian Williams.

 

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