• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

FreeDOS Command Shell (command.com)

FreeCom - The DOS Command Line Interface


Source code distribution of FreeCOM - a Command line interface program, which substitutes COMMAND.COM

Build

About

This software is part of the FreeDOS project. Please visit the freedos web page at http://www.freedos.org/ for more information about FreeDOS.

FreeCOM implements the command processor for the DOS kernel. It is usually the first program started by the kernel and provides a command line interface to interactively run other DOS programs.

Additionally, FreeCOM implements a BATCH file processor allowing scripting of commands as well. See http://help.fdos.org/en/hhstndrd/batch/index.htm for more help with batch commands.

More information

Changes since last official release

How to compile FreeCOM

Bugs and Help

The COMMAND.COM web site (including source hosting) is at

https://github.com/FDOS/freecom

Bugs may be filed at https://github.com/FDOS/freecom/issues or you may send any bug reports, comments or other info to the one of the FreeDOS mailing lists. For subscription and archives, see:

http://www.freedos.org/forums/

This software has been developed by many people. Older changes are listed along with who provided the change within docs/HISTORY.TXT file and more recent changes can be seen with git log (HISTORY.TXT is only updated periodically).

Please note that this software is separate from the DOS-C kernel and is intended to be compatible with a variety of kernels that implement the DOS API (i.e. it should run on FreeDOS DOS-C kernel and on other DOS kernels such as Microsoft's DOS).

Installation

To use this shell, just run the COMMAND.COM file. You can also add this to your CONFIG.SYS file:

SHELL=<shell path><shell filename>

e.g.

SHELL=C:\FREEDOS\COMMAND.COM /P

See http://help.fdos.org/en/hhstndrd/command.htm for description of command line options.

Current Features

  • environment handling with prompt and path support
  • directory utilities
  • command-line history with doskey-like features + filename completion (TAB)
  • batch file processing
  • input/output redirection and piping
  • loadhigh support
  • alias support
  • flow control (IF, FOR, GOTO, labels)
  • support for error and other messages in multiple languages

More Repositories

1

kernel

FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
C
771
star
2

fdisk

Fixed Disk Setup Program - manages partitions using the MBR partitioning scheme
C
42
star
3

format

Disk formatting program -- creates FAT file systems and lowlevel-formats floppy disks.
C
18
star
4

debug

Clone of the MS-DOS DEBUG command
Assembly
17
star
5

edlin

FreeDOS standard line editor
C
15
star
6

sys

SYStem installer - install boot sector and copy DOS core system files to a formatted FAT volume
C
15
star
7

mouse

The FreeDOS mouse driver
Assembly
13
star
8

keyb

FD-KEYB enhances or replaces the BIOS keyboard management to adapt it to international keyboard layouts
Pascal
11
star
9

help

FreeDOS commands and usage information
HTML
11
star
10

ansi

NANSI - An ANSI driver for DOS
Assembly
10
star
11

share

Installs file-sharing and locking capabilities for FreeDOS kernel. (Not compatible with other DOS kernels.)
C
10
star
12

edit

Allow editting of text documents
C
10
star
13

diskcopy

copy one disk or image file to an other
C
9
star
14

unformat

Unformats quick-formatted hard disks.
C++
8
star
15

xcopy

Copies files and directory trees.
C
8
star
16

ramdisk

temporary disk drive in system memory
Assembly
8
star
17

emm386-himem

HIMEM + EMM386 - high, upper, extended, and expanded memory managers for DOS (386+)
Assembly
8
star
18

graphics

Allow Prtscr to print graphics screens. (CGA/EGA/VGA/MCGA on PostScript, ESC/P Epson 8/24pin and HP PCL printers)
Assembly
7
star
19

tree

display directory (folder) organization as a text based visual tree
C++
7
star
20

kitten

Functions that emulate UNIX catgets
C
7
star
21

label

Sets or changes the disk volume label
C
6
star
22

fdapm

APM / ACPI control/info, energy saving TSR/control, cache flush, rebooting... {a replacement for MS-DOS POWER}
Assembly
6
star
23

devload

Dynamic device driver loader for DOS.
Assembly
6
star
24

himem

Assembly
6
star
25

more

MORE will display a text file one screen at a time.
C
6
star
26

mirror

Records information about the disk for possible data recovery.
C++
5
star
27

mode

Set the mode of your devices
C
5
star
28

backup

HTML
5
star
29

mem

Displays the amount of used and free memory in your system.
C
5
star
30

defrag

[FAT formatted disk] defragmentation utility
C
5
star
31

cache

disk cache
Assembly
5
star
32

attrib

Display and set file attributes
C
5
star
33

assign

Assign a drive letter to a different drive
C
5
star
34

choice

Present a prompt to the user and wait for a key
C
5
star
35

fc

file compare utility
C
5
star
36

append

Enables DOS programs to open data files in specified directories as if the files were in the current directory.
Assembly
5
star
37

cdrom

CDROM device drivers and related utilities (see shsucd for CDEX - CDROM Extenstions file system driver)
Assembly
5
star
38

deltree

Delete a directory and all directories under it
Assembly
5
star
39

diskcomp

Compare if contents of two diskettes are identical.
C
5
star
40

display

codepage management for console and printer
Assembly
5
star
41

nlsfunc

adds NLS (National Language Support) functionality
Assembly
4
star
42

comp

Compare files and display their differences
Assembly
4
star
43

tnyprntf

Lightweight printf implementation
C
4
star
44

country

Kernel NLS codepage file - country.sys
Assembly
4
star
45

fdshield

malware action blocker and warner, helps to reduce virus activity on your DOS
Assembly
4
star
46

sort

reads line of a file and sorts them in order
C
4
star
47

cpi

Code Page Information files provide DOS-based codepages (for usage with display).
4
star
48

move

Moves a file/directory to another location.
C
4
star
49

find

Display all lines in one or more files that contain a given string, inverse and case-insensitive search possible as well.
C
4
star
50

chkdsk

Check the [FAT formatted] disk for errors.
C
4
star
51

FDOS.github.io

Overview of FDOS
3
star
52

.github

FDOS GitHub profile
1
star