Batch files - Examples (T*)

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 TaskMgr.bat Disable or reenable task manager NT 15/03/2002  
Download the ZIPped sources Tee Display standard input on screen and simultaneously redirect it to a file NT 27/02/2003 Explained (a little) on my TEE page.
Also available as Perl and Rexx scripts
Download the ZIPped sources TempNWD.bat Temporarily map a network drive or use an existing mapping, and remove it afterwards (unless an existing mapping was used). NT 29/04/2001  
Download the ZIPped sources TrueName TrueName.bat (NT) and TrueName.cmd (OS/2) display the true path of SUBSTed or mapped network drives All 21/12/2007 These scripts are meant for CMD.EXE; TRUENAME is a native, internal command in COMMAND.COM.
Thanks to John Taylor for reporting a "space bug" in the previous version.
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