Rob van der Woude's Scripting Pages

Batch Files: Examples (N)

💾 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
💾 NETFxVer.bat 3.00 List the installed .NET Framework versions W2K 2010-08-27  
💾 NetSetFR.bat   Store the Computer name, User name and Workgroup in environment variables 98 2000-11-01 For French Windows 9x versions.
💾 NetSetNL.bat   Store the Computer name, User name and Workgroup in environment variables 98 2000-11-01 For Dutch Windows 9x versions.
💾 NetSetUS.bat   Store the Computer name, User name and Workgroup in environment variables 98 2000-11-01 For English Windows 9x versions.
💾 NETSHHelp.bat 1.00 Display help for NETSH and all its subcontexts W7 2014-01-24 For English Windows 7 versions.
📦 NetStatLive.bat 1.00 Netstat Live alternative NT 2004-01-01 Written by Shannon Zielinski.
💾 NetWho.bat 2.10 NET WHO (as in OS/2) "ported" to NT: show every requester plus who is logged on NT 2002-06-20 NetWho.bat assumes requester names are in PC1234 format (to ignore servers).
💾 NetWho2.bat 2.10 NET WHO (as in OS/2) "ported" to NT: show every requester plus who is logged on NT 2002-06-20 NetWho2.bat may also show servers.
💾 NICSpeed.bat 1.00 Display all active Ethernet network adapters' link speed XP 2010-09-16 Requires WMIC.
Also available in KiXtart and VBScript.
💾 NoAutoRun.bat 1.00 Completely disable Windows' AutoRun feature XP 2007-11-11 Based on an article by Scott Dunn.
💾 NoBrowse.bat 1.00 Prevent the local workstation from becoming a master browser NT 2002-03-14  
💾 NoNagXP.bat 1.00 Disable nag screens for .NET Passport and Windows XP Pro Tour XP 2005-06-28 Idea: Greg Schultz's xpnagdisabler VBScripts on techrepublic.com.com.
💾 NoStartSkype.bat 1.01 Disable Skype auto start, even after a Skype update W7 2016-04-04  
💾 NoTrkIco.bat 1.00 Disable "smart shortcut tracking" on the local PC W2K 2002-04-16 Based on a tip by Sander Jousma.
💾 Now.bat 1.00 Display the current time in HHmmss format with any delimiter you want NT 2009-01-19 Requires DEBUG
💾 NoWinUpd.bat 1.00 Disable Windows' Update feature 95 NT 2002-04-10 Also available as KiXtart script.
💾 NTRole.bat 1.10 Displays the role (server or workstation) of the PC where this batch file is run NT 2001-11-18  
💾 Num2Bin.bat 1.00 Convert the specified number to binary NT 2011-03-01  
💾 Num2Hex.bat 1.00 Convert the specified number to binary NT 2011-03-13  
💾 Num2Oct.bat 1.01 Convert the specified number to octal NT 2011-03-13  
💾 NumLock.bat 1.00 Display or change default NumLock status for current user NT 2003-03-27  

 

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.0132 seconds