Internal Commands: Resident Commands. The Command Available Are All Combined Together and Are
Internal Commands: Resident Commands. The Command Available Are All Combined Together and Are
Internal Commands: Resident Commands. The Command Available Are All Combined Together and Are
These commands are automatic loaded into the memory when operating system
is loaded into the memory. Thus these are also called memory-
resident commands. The command available are all combined together and are
stored in Command.com file, which is a executable command file. These internal
command are further grouped according to their properties. These are as follows.
1. CLS:- (Clear the screen) This command is used to clear the screen or wipe out
every thing written on the screen.
2. DIR:- (Directory) Dir command is used for listing files and directories present
in the current disk.
Switches:-
/P Page wise
/W Widths wise
/S List all files and directory of subdirectories
/AH Display directory with hidden files
/AS Display directory with system files
/AD Display only directories present in current drive
Output:-
C:\>VER
4. VOL:-(Volume) Displays the disk volume label and serial number, if it exist.
Type DATE without parameters to display the current date setting and
a prompt for a new one. Press ENTER to keep the same date.
Note:- We enter new date in the format of MM-DD-YY.
Type TIME with no parameters to display the current time setting and a prompt
for a new one. Press ENTER to keep the same time.
After copy con we must specify a suitable file name. Press enter. Start typing the
informations of the file. After gathering the information we press ^Z (CTRL+Z)
button or F6 button to save the file. After pressing enter key computer will show
a message like 1 file(s) copied. This means that file is stored in the disk. Suppose
we don't want to save the file or we just want to abort from file creation job, then
we simply press ^C (CTRL+C) button to abort without saving the file, intend of
pressing ^Z button.
8. TYPE:- This command is used to display the contents or text of any file to the
display device.
9. COPY :- Copy command is used for copy any file to another location or to
copy the files to another directory. This command may also be used for copying
any file to another disk with different file name.
Note that you cannot specify a new drive or path for your destination.
11. DEL:- This command is used for erasing any file from the disk.
Now this directory can be used for keeping various sort of reports. Under this
directory we can create another directory which is known as subdirectory.
13. CD:- (Change Directory):- We can enter or exit from any directory using this
command.
Prompt will change with the directory name. If we keep two dots after CD
command than we will exit from the directory.
Syntax:-C:\> CD..
C:\REPORT> CD..
C:\>
14. RD:-(Remove directory):- This command is used when we want to remove
any unusable directory form our disk.
this command will sets the directories windows, the command subfolder of
windows and TC folder for executable files. Operating system will look for
executable files in these directories.
NOTE:- If we need any help for above DOS commands the we put a '/?' symbol
after writting the command at DOS prompt .