![]() | |
Developer(s) | JP Software |
---|---|
Stable release | 8.00 (Source available in 2009) / 7.50.130 (JPSoft in 2004) |
Operating system | DOS,Windows |
Type | Command shell |
License | modifiedMIT License that does not qualify as open source byOpen Source Initiative orFree Software Foundation standards |
Website | 4dos.info |
4DOS is acommand-line interpreter by JP Software, designed to replace the default command interpreterCOMMAND.COM
inMicrosoft DOS andWindows. It was written by Rex C. Conn and Tom Rawson and first released in 1989. Compared to the default, it has a large number of enhancements.
4OS2 and4NT are similar products that replacecmd.exe
inOS/2 andWindows NT respectively.
4DOS is most often used as a command-line replacement for the following operating systems:
Since Windows NT and Windows 2000 includes bothCOMMAND.COM
andcmd.exe
, 4DOS and4NT and derivatives can both be installed. Earlier versions of4OS2 can be run under Windows NT, and OS/2 can run the two DOS and Windows NT shells, all three can be used on Windows NT-type machines and OS/2 multiple boot machines.
Among the many commands, statements and functions in 4DOS and lacking in DOS/Windows 95–98COMMAND.COM
are reading keyboard input and a simpler method of working with colors of screen and text.
The default file extension for 4DOS scripts is .btm.
A graphical version of 4DOS, 4OS2, and 4NT, calledTake Command, was released with a feature set corresponding to version 4DOS 5.5, 4OS2, and 4NT 2.5 and updated after this. Development on this line stopped with the correspondingtext mode versions. There was a graphical programTake Command/16, for Windows 3.1.
4OS2 is a similar replacement for IBM'sOS/2 command interpreter. This was first released at the same time as 4DOS version 4, and has a similar feature set. Like 4DOS, this is released as open source. It appeared in the feature set of 2011'seComStation 2.10, in the freeware os2free project, and is included withArcaOS.
4NT was first released as4DOS for Windows NT (versions 1.x, 2.x), but became 4NT until the restructure after version 8. The program is a recompilation of 4OS2, and continues to have features of OS/2's command processor (cmd.exe
), such as runningREXX scripts, and EXTPROC support. A correspondingTake Command/32 exists for this, version 1 corresponding to 4NT 2.5. 4NT and Take Command/32 were released in bothANSI (Windows 9x) andUnicode (Windows NT) forms, with the ANSI version dropped at version 5.
A new Win32 programTabbed Command Interface (TCI), was released at the time of 4NT version 7. This program allowed one to attach (thereby reducing screen clutter) and detach tabbed consoles to a single window. This program requiresWindows XP or later.
A new version of Take Command extends the original Tabbed Command Interface, expanded with extra windows to allow input to be composed, to graphically navigate directories and files, and extra features. 4NT is bundled as Take Command Console. A light feature-reduced version of TCC is released as a free download.
JP Software then released:
This has been released from versions 9 to 12.1, corresponding to the underlying 4NT/TCC version.
4DOS features a number of enhancements compared toCOMMAND.COM
:[1]
Originally distributed asshareware, 4DOS has been later released as unsupportedfreeware. Currently, the source code is available under a modifiedMIT License but it "may not be used in any commercial product without written permission from Rex C. Conn"[7] and "may not be compiled for use on any operating system other thanFreeDOS" – so does not qualify as open source as defined byOpen Source Initiative.[8][9]
The last update by JP Software was version 7.50.130, released in August 2004. During its 15-year history, 4DOS underwent numerous updates; here are a few of the most significant.
Version | Released | New features |
---|---|---|
2.00 | 1989-02-15 | Original release. Improved command-line editing, filename completion, command history, aliases, improved wildcards, online help, internal variables, swapping to disk orEMS, file descriptions,[2] command separator, key stacker. |
2.20 | 1989-07-05 | Executable extensions. |
3.00 | 1990-03-07 | BTM batch files (cached to memory for speed),extended memory (XMS) swapping, variable functions, bracket variable-name syntax. |
4.00 | 1991-11-01 | Colored directory listings, 4DOS.INI configuration file, include lists, command groups, implied CDD, DOS 5Upper Memory Blocks (UMB) support. |
5.00 | 1993-11-23 | Date, time, and size ranges; compressed batch files. |
5.51 | 1995-08-22 | Long filename support,REXX in .BAT files (as in PC DOS 7.0). |
6.00 | 1997-07-24 | Extended directory searches, interactive configuration (OPTION command), exclusion ranges, interactive batch file debugger. |
7.00 | 2001-06-18 | @file lists (as inDR-DOS). |
7.50 | 2003-02-24 | User-defined functions. |
7.50.1 | 2006-11-13 | Source available version of 7.50. Luchezar Georgiev and Jaelani Utomo have continued developing 4DOS.[10] |
8.00 | 2009-02-27 | Latest version.[1] |
Some versions of theNorton Utilities for DOS included modified copies of 4DOS calledNDOS. The last version of NDOS was bundled with Norton Utilities 8, and corresponded to 4DOS 4.03.
0x10
for general metadata inXMP format,[5]0x23
('#') as used by various utilities written by Matthias R. Paul for space-separated lists of textkey=value pairs holding file properties asextended attributes like CP (codepages), PC (language codes), CW (bit-width), XS (page width), YS (page length), XO (print x-offset), YO (print y-offset), CR (copyright), URL (source link), etc.,[3]0x25
('%') being used by programs using CUI_LIB to storepseudo-environment variables,[3][4]0xED
being reserved forDigital Research/Novell/Caldera,0xC2
used byTotal Commander for multiline file descriptions,[6] and0xFD
reserved forFreeDOS.)