Batch files - Examples (U*)

 

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

 

Click the diskette icon to dowload the ZIPped source Click the floppy disk icons to download the ZIPped sources

 

Batch file examples
Click the diskette icon to dowload the ZIPped source Name Description OS (1) Last modified
(DD/MM/YYYY)
Remarks
Click the diskette icon to dowload the ZIPped source UnBlock.bat Modify downloaded files' Zone Identifier to mark them as safe XP 17/06/2007 Based on an article in Windows Scripting Solutions by Bill Stewart.
More info on Zone Identifiers in MS Knowledge Base articles 883260, 889815 and 105763.
Disclaimer: By manually marking a file safe you effectively disable the zone checking security mechanism for that file.
This is absolutely NOT recommended!!!
Use this batch file entirely at your own risk.
More detailed information can be found on my Alternate File Streams page.
Click the diskette icon to dowload the ZIPped source UniqueID.bat Remove Intel LANDesk agent's ID and force creation of a new unique ID 95 NT 13/07/2001  
Click the diskette icon to dowload the ZIPped source UpTime.bat Display the amount of time a system has been up and running. NT+RK/WMI 22/04/2006 Also available in VBScript.
More or less equivalent to my OS/2 Rexx script LastBoot.cmd which is available in VBScript too.
Click the diskette icon to dowload the ZIPped source UsrInput Ask for user input and store it in an environment variable All 25/04/2001  

 

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 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

unique visitors since July 2007

page last uploaded: 5 April 2009, 23:59