VOGONS


First post, by Projanglez

User metadata
Rank Newbie
Rank
Newbie

I've been working on a little tool now for a while, and deciced to release it to public:

TAB4DOS v1.0.0

A small resident utility (9kb TSR) for MS-DOS that adds bash-style TAB completion, command history, and command-line editing to the standard COMMAND.COM prompt:

1czUavw.gif

Download / source
Release v1.0.0 (tab4dos.exe)
Source on GitHub


Features

  • TAB / Shift+TAB — complete and cycle matches (forward / backward) for files, directories, path fragments, DOS internal commands, and executables found on PATH.
  • Up / Down — browse command history (64 entries), replaces DOSKEY
  • Line editing — Left/Right, Home/End, Del, Ins (insert/overwrite), Ctrl+Left/Ctrl+Right (jump word), ESC (clear line).
  • Small footprint — ~9 KB resident. The command list and the history ring are kept in small files (TAB4DOS.IDX / TAB4DOS.HST) next to the EXE (or in %TEMP% with /usetemp), not in resident memory; with SmartDrive these reads/writes are effectively RAM-speed.
  • See full changelog for more details

Usage

tab4dos          install (resident)
tab4dos /u uninstall
tab4dos /? help

Full readme on Github: https://github.com/Projanglez/TAB4DOS

Notes

  • Tested on real 386 hardware. Not tested under DOSBox — DOSBox has its own TAB completion that overlays this one, so results there are not meaningful.
  • Free and open source (MIT).
  • This software was developed with the help of an AI coding assistant (Claude Code).

Feedback and reports are very welcome!

Reply 1 of 5, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Didn't 4DOS have this as a built-in feature?

Reply 2 of 5, by ajacocks

User metadata
Rank Member
Rank
Member

Nice work!

- Alex

Reply 3 of 5, by jakethompson1

User metadata
Rank l33t
Rank
l33t

Hello,
What happens if you load this in autoexec.bat, then go into Windows and open multiple DOS prompts?
Doskey has a lot behind the scenes to make this work. Undocumented DOS and Unauthorized Windows 95 get into this.
You might have to hook INT 2Fh AX=4B05h and INT 2Fh AX=1605h

Reply 4 of 5, by aVd

User metadata
Rank Member
Rank
Member

Hi, @Projanglez,
This is a very nice project, but when it comes to "DOS internal commands" is TAB4DOS compatible with different versions of mS and non-m$ command line interpreters (and even substitutes like 4DOS.COM) or it just has internally hardcoded some of the most common commands like DIR, DEL, COPY, CLS, etc.?

SvarDOS fan :: artificial "intelligence" bots - not a fan at all :: say NO to systemd :: is freeware a lie, when human freedom is a fundamental lie? :: f00ck €u!

Reply 5 of 5, by maxtherabbit

User metadata
Rank l33t
Rank
l33t

Not to rain on your parade, but newer versions of doskey such as those included with freedos have tab completion already