The full form of DOS is Microsoft Disk Operating System, which was the dominant operating system for the personal computer (PC) throughout the 1980s.
It has several commands to be used-
Type help and press Enter key
You will see a list of commands on the screen.
Two types of commands-
Internal Commands-An internal command is an MS-DOS command that is stored in the system memory and loaded from the command.com or cmd.exe.
likewise :
COPY. Copies a file. ...
TYPE. Displays the contents of a file. ...
DEL. ...
REN.
External Commands- An external command is an MS-DOS command that is not included in command.com
Likewise:
Tree
Sort
Chkdsk
Edit
List of MS-DOS commands-
cd..
This command is used to go back one directory. it means when you are create a directory with md (directoryname) command and then you use cd (directoryname) to go in the same directory after that you create another directory with md (directoryname2) command and again you use cd (directoryname2) . now, if you put cd.. and press Enter, then you will reach in (directoryname).
cd/
This command is used to go in root directory.
md
This command is used to create a new directory
cd
This command is used to change a directory, it means we can enter in a new directory.
like-
cd (directoryname) Enter.
ver
This command is used to show the version of the Operating System installed in PC.
vol
This command is used to show the volume of the Disk available in PC.
cls
This command is used to clear the date on screen but it does not remove data from the disk.
copy con
This command is used to create a file with command. like - copy con filename and Enter
del
This command is used to delete a file
rd
This command is used to remove a directory from the PC.
type
This command is used to show the content of the file.
exit
This command is used to quit/come out from the command prompt.
date
This command is used to show the current date on PC, and it allows users to change the date in mm-dd-yy format.
time
This command is used to show current time on PC, and it allows users to change the time in specific format.
attrib +h *.*
This command is used to hide all files with all extensions in the current directory.
attrib -h *.*
This command is used to show all files with all extensions in the current directory
echo
This command is used to write message on the command prompt.
edit
This command is used to edit a file on the command prompt on a new windows opening.
sort
This command is used to show the list of strings in ascending order.
chkdsk
This command is used to check the disck for its content of files and folders available.
dir
This command is used to show the directories and files in the current directory.
dir /w
This command is used to show the directories and files widthwise in the current directory.
dir /p
This command is used to show the directories and files pagewise in the current directory.
dir /b
This command is used to show the directories and files without date in the current directory.
erase
This command is used to remove the directories and files in the current directory.
move
This command is used to move directories and files from current directory to an another directory.
copy
This command is used to copy files from the current directory to an another directory.
ren
This command is used to change the name of a specific files in the current directory.
replace
tree
____________________________________
Move Current to another
c:\ram\gic> move a1 \ram\ggic
(here file a1 is being sent from gic to ggic where gic is the current directory)
Move another to current
c:\ram\gic> move \ram\ggic\b1
(here file b1 is being sent from ggic to gic where gic is the current directory)
Move another to another
c:\ram\gic\ move \ram\pgc\c2 \\ram\ggic
(here file c2 is being sent from pgc to ggic where gic is the current directory)
0 Comments