Disc Operating System (DOS) & Useful Commands

Posted on October 16, 2021 by Soumendra Saha
Computer Fundamentals

Disc Operating System (DOS) is a kind of operating system that resides on and can use any disk storage device such as hard disk, Optical disk or Floppy disk. User can interact with the operating only using commands. Some useful DOS commands are as below:

Command Description
break Enable and disable Ctrl+C feature.
call Calls a batch file from another batch file.
cd Changes directories.
cls Clears the screen.
cmd Opens the command Prompt
color Change the foreground and background color of the MS-DOS window.
command Opens the command Prompt
date View or change the systems date.
del Deletes one or more files.
dir List the files/folders of one or more directory.
echo Displays messages and enables and disables echo.
erase Erase files from the computer.
exit Exits from the command prompt
goto Moves a batch file to a specific label or location.
help Display a listing of commands and brief explanation.
ipconfig Network command to view network adapter settings and assigned values.
lock Lock the hard drive.
logoff Logoff the currently profile using the computer.
mkdir Command to create a new directory.
move Move one or more files from one directory to another directory.
path View and modify the computer's path location.
ping Test and send information to another network computer or network device.
print Prints data to a printer port.
rename Renames a file or directory.
rmdir Removes an empty directory.
shutdown Shutdown the computer from the MS-DOS prompt.
start Start a separate window in Windows from the MS-DOS prompt.
time View or modify the system time.
title Change the title of their MS-DOS window.
tree View a visual tree of the hard drive.
xcopy Copy multiple files, directories, or drives from one location to another.