Monday, September 12, 2011

MS-DOS and Command Line - Part 1

What these commands do?

Below is a list of MS-DOS commands and a brief explanation of what each of the commands do. The below commands are all MS-DOS commands, which means not all the below commands will work in your version of MS-DOS and/or Windows command line.

Command
Description
Type
ansi.sys
Defines functions that change display graphics, control cursor movement, and reassign keys.
File
append
Causes MS-DOS to look in other directories when editing a file or running a command.
External
arp
Displays, adds, and removes ARP (Address Resolution Protocol) information from network devices.
External
assign
Assign a drive letter to an alternate letter.
External
assoc
View the file associations.
Internal
at
Schedule a time to execute commands or programs.
External
atmadm
Lists connections and addresses seen by Windows ATM call manager.
Internal
attrib
Display and change file attributes.
External
batch
Recovery console command that executes a series of commands in a file.
Recovery
bootcfg
Recovery console command that allows a user to view, modify, and rebuild the boot.ini
Recovery
break
Enable / disable CTRL + C feature.
Internal
cacls
View and modify file ACL's.
External
call
Calls a batch file from another batch file.
Internal
cd
Changes directories.
Internal
chcp
Supplement the International keyboard and character set information.
External
chdir
Changes directories.
Internal
chdsk
Check the hard disk drive running FAT for errors.
External
chkntfs
Check the hard disk drive running NTFS for errors.
External
choice
Specify a listing of multiple options within a batch file.
External
cls
Clears the screen.
Internal
cmd
Opens the command interpreter.

color
Easily change the foreground and background color of the MS-DOS window.
Internal
command
Opens the command interpreter.

comp
Compares files.
External
compact
Compresses and uncompress files.
External
control
Open Control Panel icons from the MS-DOS prompt.
External
convert
Convert FAT to NTFS.
External
copy
Copy one or more files to an alternate location.
Internal
ctty
Change the computers input/output devices.
Internal
date
View or change the systems date.
Internal
debug
Debug utility to create assembly programs to modify hardware settings.
External
defrag
Re-arrange the hard disk drive to help with loading programs.
External
del
Deletes one or more files.
Internal
delete
Recovery console command that deletes a file.
Internal
deltree
Deletes one or more files and/or directories.
External
dir
List the contents of one or more directory.
Internal
disable
Recovery console command that disables Windows system services or drivers.
Recovery
diskcomp
Compare a disk with another disk.
External
diskcopy
Copy the contents of one disk and place them on another disk.
External
doskey
Command to view and execute commands that have been run in the past.
External
dosshell
A GUI to help with early MS-DOS users.
External
drivparm
Enables overwrite of original device drivers.
Internal
echo
Displays messages and enables and disables echo.
Internal
edit
View and edit files.
External
edlin
View and edit files.
External
emm386
Load extended Memory Manager.
External
ename
Recovery console command to enable a disable service or driver.
Recovery
endlocal
Stops the localization of the environment changes enabled by the setlocal command.
Internal
erase
Erase files from computer.
Internal
exit
Exit from the command interpreter.
Internal
expand
Expand a Microsoft Windows file back to it's original format.
External
extract
Extract files from the Microsoft Windows cabinets.
External
fasthelp
Displays a listing of MS-DOS commands and information about them.
External
fc
Compare files.
External
fdisk
Utility used to create partitions on the hard disk drive.
External
find
Search for text within a file.
External
findstr
Searches for a string of text within a file.
External
fixboot
Writes a new boot sector.
Recovery
fixmbr
Writes a new boot record to a disk drive.
Recovery
for
Boolean used in batch files.
Internal
format
Command to erase and prepare a disk drive.
External
ftp
Command to connect and operate on a FTP server.
External
ftype
Displays or modifies file types used in file extension associations.
Recovery
goto
Moves a batch file to a specific label or location.
Internal
graftabl
Show extended characters in graphics mode.
External
help
Display a listing of commands and brief explanation.
External
if
Allows for batch files to perform conditional processing.
Internal
ifshlp.sys
32-bit file manager.
External

No comments:

Post a Comment