Click the floppy disk icons to download the ZIPped sources
| Batch file examples | |||||
|---|---|---|---|---|---|
| Name | Description | OS (1) | Last modified (DD/MM/YYYY) |
Remarks | |
| IEFavSrt.bat | Make Internet Explorer automatically sort its favorites | W2K | 17/02/2005 | ||
| IEVer.bat | Log Internet Explorer version | NT4+RK W2K |
17/02/2005 | Requires REG.EXE | |
| InvShare.bat | Show Event Log entries concerning invalid share names | NT+RK | 05/06/2000 | ||
| IP2User.bat | Display remote computer and user info | NT | 25/10/2003 | For English Windows versions. Needs to be modified if used with other languages. |
|
| IsDev | Check if specified name is a valid device name | All | 06/12/1999 | Both DOS and OS/2 batch files supplied; both will work in NT | |
| IsFAT.bat | Check if specified drive is FAT formated or not | NT | 15/02/2001 | This batch file has become obsolete; use FileSys.bat instead | |
| IsNumber.bat | Check if specified value is numeric or not | NT | 11/01/2008 | No screen output if a valid number was specified.
Returns different
errorlevels for different
types of numbers.
Errorlevel 0=NAN,
1=batch file error, 2=binary, 8=octal, 10=positive decimal
integer, 11=negative integer, 16=hexadecimal.
To check for a number in general use
IF ERRORLEVEL 2,
for specific types use
IF %ERRORLEVEL% EQU 10
(10 for positive decimal integer) |
|
| 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 | ||