View Full Version : command.com
doug3153
09-29-2000, 10:51 PM
on a boot disk what DOS commands are in COMMAND.COM ?
Paleo Pete
09-30-2000, 09:16 AM
Command.com is the DOS command interpreter, which contains all internal DOS commands, such as dir for a directory listing, cd to change directories, type which allows you to read a text file, and so on. External commands are the ones that you'll find .exe or .com files for in the DOS directory, such as format.com, edit.com, fdisk.exe, scandisk.exe and so on.
I don't have a listing handy of all the commands supported by command.com, but take a look at my site below, you'll find a couple of very good DOS instructional sites there. Maybe one will have some more info you can use. A good DOS book might also help, check around in resale shops, used bookstores, libraries etc. and you might find some good ones floating around. The books published by Micro$oft typically aren't the best ones, by the way...
------------------
If you had everything...Where would you put it?
Computer Information Links (http://www.geocities.com/paleopete/)
doug3153
09-30-2000, 11:38 AM
Originally posted by doug3153:
on a boot disk what DOS commands are in COMMAND.COM ?
Pete, you know your stuff! Thanks again. The neophyte geek, doug3153.
Paleo Pete
10-01-2000, 12:59 AM
No, I know what books and websites to use to look it up. http://www.PCGuide.com/ubb/biggrin.gif
------------------
If you had everything...Where would you put it?
Computer Information Links (http://www.geocities.com/paleopete/)
Paleo Pete
10-01-2000, 11:51 AM
Just found this, I knew I had a list of all the internal DOS commands, but took a while to locate it. Here they are:
DIR Lists the files in the current directory
CD Changes to a different directory
COPY Copies files
RD Removes a directory
DEL Deletes a file
REN Renames a file
DATE Used to display or change the date
TIME Used to display or change the time
VER Displays the version of DOS being used
MD Creates a directory
CLS Clears the screen
All other DOS commands are external commands, which means they require executables to run, as explained above.
Command.com, io.sys and msdos.sys are the system files. io.sys and msdos.sys are hidden. With only these 3 files on the computer, these commands are available. Any other DOS commands not in this list require DOS to be installed or available on a disk. Actually, only command.com must be there for a DOS machine to run, I've made boot disks with only command.com on them, but the sys command copies all three to the disk.
By the way, Directory is the same thing that's called a Folder in Windows...
------------------
If you had everything...Where would you put it?
Computer Information Links (http://www.geocities.com/paleopete/)
doug3153
10-01-2000, 10:37 PM
Originally posted by Paleo Pete:
Just found this, I knew I had a list of all the internal DOS commands, but took a while to locate it. Here they are:
DIR Lists the files in the current directory
CD Changes to a different directory
COPY Copies files
RD Removes a directory
DEL Deletes a file
REN Renames a file
DATE Used to display or change the date
TIME Used to display or change the time
VER Displays the version of DOS being used
MD Creates a directory
CLS Clears the screen
All other DOS commands are external commands, which means they require executables to run, as explained above.
Command.com, io.sys and msdos.sys are the system files. io.sys and msdos.sys are hidden. With only these 3 files on the computer, these commands are available. Any other DOS commands not in this list require DOS to be installed or available on a disk. Actually, only command.com must be there for a DOS machine to run, I've made boot disks with only command.com on them, but the sys command copies all three to the disk.
By the way, Directory is the same thing that's called a Folder in Windows...
thanks pete. doug3153
vBulletin v3.6.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.