Enhanced DOSKEY.com
--- Freeware ---
Copyright Paul Houle 2011 (http://paulhoule.com)

[page last modified 9/11/2011]

This program is an enhanced, drop-in replacement for the DOSKEY.COM that ships with MS-DOS and Windows 9x/Me.  Although enhanced, it has a smaller disk and memory resident footprint.  It is a great addition to DOS boot diskettes, and to the Win 9x/Me environment if the DOS box is used frequently.  Note: will not operate under Windows NT/2000/XP (it's not needed since those systems have completion mechanisms built-in -- for how to enable in XP, see  http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q310530).

The primary added feature is command and file "auto-completion" via the tab key.  Depending on the context, either a matching command or filename (or path) will be supplied.  This is a huge timesaver when using the command line.

In the following examples user-entered text is in CAPS and the auto-completed text – which appears when the user enters a TAB key -- is in italics.  The "_" represents the cursor position after auto-completion:

c:\> XCopy.exe  _
c:\> CD \Windows\_
c:\> DIR Autoexec.bat  
_

If there is more than a single matching completion, the user can repeatedly press the TAB key to cycle through the matches as they appear on the command line.   Entering  <shift>TAB  will go backward through the list of matches (if, for example, you pressed TAB one too many times).

To install, rename your existing DOSKEY.COM (to save it) and download the replacement.  To remove, delete the downloaded DOSKEY.COM and rename your original back to DOSKEY.COM.

[Note to Windows/ME users: the "System File Protection" feature in this OS guards against a direct replacment of DOSKEY.COM -- install and load the enhanced DOSKEY.COM from another directory of your choice, and don't rename the Windows/Me original.]

Hope you like it.  I wrote this many years ago to make the DOS command line easier to use, and still find myself relying on it every day.


Change Log

10/15/02 - Version 1.4: Fixed bad command line parsing (switches could damage macro definitons, -m did not work).

Click here to download  doskey14.zip

10/18/02 - Version 1.5: Added basic emacs compatible control sequences.

Click here to download  doskey15.zip

1/22/03 - Version 1.6: Fixed tab completion bug writing past end of command line. Removed "\" at end of input line when user exits tab completion with a CR -- this functions better with commands such as CD, RD and COPY.

Click here to download  doskey16.zip

9/26/03 - Version 1.7: Removed "\" at end of directory name when user exits tab completion with a space -- this functions better with commands such as MOVE, REN and COPY which object to a trailing "\" on the source.

Click here to download  doskey17.zip

10/22/03 - Version 1.8: Caused high ASCII (>=80h) to be recognized as filename/path characters. Fixes a problem where umlaut chars were being viewed as separators instead of parts of a valid filename.

Click here to download  doskey18.zip

6/14/09 - Version 1.9: Stop executing Win 95 interrupt on versions of DOS that do not implement it. Though never functionally a problem, this change allows doskey to run at 0% CPU (when idle) in Virtual Machines running DOS 6.x, when paired with power management software such as DOSIDLE.EXE.

Click here to download  doskey19.zip

6/29/09 - Version 2.0: Further small change to improve CPU utilization when idle (at DOS prompt) in a Virtual Machine. No other functional difference. (As of 9/11/2011, an additional archive with full source is available.)

Click here to download  doskey20.zip

Click here to download with full source  doskey20src.zip


You are visitor 57357           Go to Home Page