Click the floppy disk icons to download the ZIPed sources
Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources
| Batch file examples | |||||||
|---|---|---|---|---|---|---|---|
| Name | Version | Description | OS (1) | Last modified (yyyy-mm-dd) |
Remarks | ||
| DateAdd.bat | 1.10 | Add/subtract a specified number of days to/from a specified date | NT | 2007-02-12 | Based on Fliegel-Van Flandern Julian date conversion algorithms from the Astronomical Almanac, provided by Doctor Fenton on the Math Forum and converted to batch code by Ron Bakowski | ||
| DateDiff.bat | 1.10 | Calculate the difference in days between two dates | NT | 2007-06-04 | Based on Fliegel-Van Flandern Julian date conversion algorithms from the Astronomical Almanac, provided by Doctor Fenton on the Math Forum and converted to batch code by Ron Bakowski | ||
| DateFmt.bat | 0.53 | Show the current date in the specified format | NT | 2008-08-07 | Inspired by Simon Sheppard's GetDate.bat | ||
| DatePart.bat | 1.00 | Return the specified numerical part of the current date or time | NT | 2008-11-15 | Batch "wrapper" for VBScript's DatePart( ) function | ||
| DateTime | Store week day, current date and current time in environment variables | All | Take a look at SortDate and SortTime for an NT version with language independent sorting, or at DateErrT for a version that uses ErrTime by Phil Money to remain virtually OS independent | ||||
| DateTime.cmd | Return the current date as errorlevel in YYYYMMDD format | XP | 2009-04-27 | Written by Justin. Tested only in Windows XP. Requires modifications to work on non-English systems. |
|||
| DDLU.bat | 1.00 | Don't Display Last Username: clears the last user name from the login dialog box permanently. | NT | 2001-12-20 | Use CLLUN.bat instead to remove the last logon user name just this once. See the Related Stuff section for a note on "Don't Display Last Username" in Vista and Windows 7. |
||
| DeadProf.bat | 1.00 | Delete inactive corrupted profiles for current user | NT | 2000-09-15 | |||
| Dec2Bin.bat | Convert decimal numbers to binary | NT | 2010-07-15 | Requires PHP. | |||
| Dec2Hex.bat | 2.10 | Convert a decimal number to 8 digit hexadecimal | NT | 2007-12-08 | This batch file uses a "poorly documented" feature of the PING command to convert a decimal number to hexadecimal. Requires FINDSTR (not native in NT4, but part of the Resource Kit). Also available in KiXtart, Perl, Rexx and VBScript. |
||
| Dec2Hex.bat | Convert decimal numbers to hexadecimal | NT | 2010-07-15 | Requires PHP. | |||
| DecToHex.bat | 1.01 | Convert a decimal number to "7.5" digit hexadecimal | NT | 2007-12-08 | This batch file uses CMD.EXE's internal commands only. Also available in KiXtart, Perl, Rexx and VBScript. |
||
| DefOpen.bat | 3.00 | Create a default file association to Notepad and add "Open with Notepad", "Print with Notepad" and "Command Prompt Here" options to popup menus | 95 98 NT 2000 XP | 2007-11-21 | Based on a tip by Regedit.com. More details on my REGEDIT page. |
||
| DefPRN.bat | Display default printer name | NT | 1999-11-07 | Also available as OS/2 Rexx, Windows Rexx, JScript, KiXtart, Perl and VBScript scripts. | |||
| DefPRN2K.bat | 1.00 | Display default printer name | W2K | 2002-02-13 | Also available as OS/2 Rexx, Windows Rexx, JScript, KiXtart, Perl and VBScript scripts. | ||
| DelFlash.bat | 1.00 | Delete "Local Stored Objects", also known as "Flash Cookies", from the current user's profile | NT | 2007-09-15 | Tested on Windows XP SP2 only. Use entirely at your own risk! Also available in VBScript. |
||
| DelOutlX.bat | 0.41 | Uninstall Outlook Express (BETA!) | W2K | 2003-12-20 | Tested on 1 Windows 2000 computer only. Use entirely at your own risk! |
||
| DelProf.bat | 0.50 | Delete specified profile (BETA!) | NT | 2003-12-17 | Still in beta! That is why the most destructive command of the batch file is echoed only. | ||
| Desktop.bat | 2.00 | Save all desktop shortcuts as a batch file that can recreate those shortcuts again (Desktop backup) | NT | 2001-08-05 | Requires SHORTCUT. | ||
| Disabled.bat | 1.00 | Lists all disabled user accounts | NT | 2000-09-21 | |||
| DiskFree | Check amount of free disk space, the hard way | All | Use FreeSpace.vbs if you need a more reliable tool | ||||
| DiskSpc.bat | 3.10 | Display harddisk summary for any WMI enabled computer or for a list of computers | XP | 2006-10-02 | Requires WMIC. | ||
| DiskUse.bat | List the disk usage for every subdirectory | NT | 2003-12-20 | Returns negative numbers if total file sizes exceed 2GB. Also available as Rexx script. |
|||
| DiskUse.bat | List the disk usage for every subdirectory | W2K | 2003-12-21 | Fixed negative numbers bug for Windows 2000/XP. Also available as Rexx script. |
|||
| DispEDID.bat | 1.01 | Display your monitor's EDID asset information | XP | 2007-02-20 | Also available in VBScript | ||
| DllMenu.bat | 1.00 | Add "Register" and "Unregister" to Explorer's context menu for DLLs and OCXs | W2K | 2007-04-18 | |||
| dNFxVer.bat | 1.01 | List the installed .NET Framework versions | W2K | 2010-08-26 | Requires GetUnIns.vbs. Windows 2000 and XP only. |
||
| DriveRdy.bat | Check if (removable) drive is ready | DOS6+ OS2 | 1999-07-18 | Also available as OS/2 Rexx script | |||
| Drives.bat | 1.01 | List local drive letters and types | W2K | 2003-12-17 | |||
| DrivUsed.bat | 1.00 | List used and available drive letters | XP | 2007-12-30 | |||
| 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 | ||
| 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) | ||
| W2K | Windows 2000, 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 | ||
SECPOL.MSC and navigate to "Security Settings", "Local Policies", "Security Options" and find the "Interactive logon" settings in the right pane.
| unique visitors since July 2007 | page last uploaded: 2 September 2010, 18:50 |