Batch files - Examples (N*)

 

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

 

Download the ZIPed sources Click the floppy disk 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

 

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 Description OS (1) Last modified
(DD/MM/YYYY)
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 NETFxVer.bat List the installed .NET Framework versions W2K 07/05/2008  
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 NetSetXX.bat, available in Dutch, English and French Store the Computer name, User name and Workgroup in environment variables 98 01/11/2000  
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 NetWho.bat
NetWho2.bat
NET WHO (as in OS/2) "ported" to NT: show every requester plus who is logged on NT 20/06/2002 NetWho.bat assumes requester names are in PC1234 format (to ignore servers), NetWho2.bat doesn't assume anything but may also show servers
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 NoAutoRun.bat Completely disable Windows' AutoRun feature XP 11/11/2007 Based on an article by Scott Dunn
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 NoBrowse.bat Prevent the local workstation from becoming a master browser NT 14/03/2002  
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 NoNagXP.bat Disable nag screens for .NET Passport and Windows XP Pro Tour XP 28/06/2005 Idea: Greg Schultz's xpnagdisabler VBScripts on techrepublic.com.com
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 NoTrkIco.bat Disable "smart shortcut tracking" on the local PC W2K 16/04/2002 Based on a tip by Sander Jousma.
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 Now.bat Display the current time in HHmmss format with any delimiter you want NT 19/01/2009 Uses 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 NoWinUpd.bat
WinUpd.bat
Disable/reenable Windows' Update feature 95 NT 10/04/2002 also available as KiXtart scripts: NoWinUpd.kix and WinUpd.kix
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 NTRole.bat Displays the role (server or workstation) of the PC where this batch file is run NT 18/11/2001  
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 NumLock.bat Display or change default NumLock status for current user NT 27/03/2003  

 

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
QR Code for http://www.robvanderwoude.com/batexamples_n.php

visitors can't be wrong... can they?

page last uploaded: 14 June 2010, 12:23