Batch files - Examples (H*)

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 HardDisk.bat List harddisks, their interfaces and revision numbers for any computer on the network NT 15/01/2005 Requires Microsoft's DEVCON. The script will prompt you to download DEVCON if it isn't found.
Download the ZIPped sources Hardware.bat Uses BATCHMAN to display a very basic hardware summary DOS3 02/12/2002 Requires BATCHMAN by Michael Mefford.
More advanced versions available as XP batch file, HTA, KiXtart and VBScript scripts for Windows.
Download the ZIPped sources Hardware.bat Uses WMIC to display a basic hardware summary XP 03/10/2006 Also available as MS-DOS batch file, HTA, KiXtart and VBScript scripts for Windows.
Download the ZIPped sources History.bat Create or delete "Internet History" folder on your desktop 95 98 NT (IE 4/5) 26/06/2001 Based on an article by Nick Francesco.
Download the ZIPped sources HostName.bat 1.00 Display host name for specified IP address NT OS2 04/06/2000 Version 1.00 shows the host name for a specified IP address.
Available as Rexx script for OS/2 as well.
HostName.bat 2.00 NT4 21/04/2001 Version 2.00 not only shows the host name for a specified IP address, but the Mac address, NetBIOS name and domain or workgroup too.
Download the ZIPped sources Hotfixes.bat Display a list of hotfixes installed locally NT 24/11/2002 Also available as Kix and VBScript scripts
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