Internal commands : The Internal commands those commands that are automatically loaded in the memory. Some commonly used DOS Internal Commands.
- Cls
- Dir
- Date
- Time
- Ver
- Copy Con
- Type
- Ren
- Del
- MD
- CD
- RD
- Copy
- Cls : The purpose of this command is to clear the display screen or redisplay the DOS prompt at the top left corner .
- Syntax : C : / > Cls
- Dir : Its display the list of directories and file on the screen .
- Syntax : C : / > Dir
- C : / > Dir /p : Its displays the list of directories and files Page wise .
- C : / > Dir /w :Its displays the list of directories and files Width wise .
- C : / > Dir /d : Its displays the list of directories and files in drive D .
- C : / > Dir filename . extension : Its displays the information of specified file .
- C : / > Dir filename with wildcards .
- Wildcards : It is set of special characters wild are used with some commonly used DOS commands there are two type of wild cards.
- Asterisk (*~)
- Question mark (?)
- Asterisk (*~) : The wild word match with all the characters .
- C : / > Dir *.* : Will displays all files and directories .
- C : / > Dir R*.* : Will displays all files stored first character R .
- Question mark (?) : This wild card represents a single character that a group or file have in command .
- C : / > Dir ac.* ~ : Will displays all files having any first character and remaining name has given in command .
- C : / > Dir ??? R . DOC :Will displays all file having extension DOC and having first three and fourth letter is R .
- DATE : Its displays a current system date . User can also change the current date with new date by using this command.
- Syntax : C : / > date
- current date is : sun 9-24-2019
- Enter of new date (dd/mm/yyyy) :-
- TIME : Its displays a current system time . User can also change the current time with new time by using this command .
- Syntax : C : / > time
- Current time is 12 : 39 - 48 : 36 p
- Enter of new Time :-
- VER : It display the version of DOS being used currently.
- Syntax : C : / > ver
- MS : DOS version 6 : 20
- Copy card .
- COPYCON : The purpose of this command is to create a file .
- Syntax : C : / > Copy con filename . extension
- save the content of file by pressing ctrl + z key combination at the last time of file . File name should not be greater then 11 character s out of which 8 character are for the name and 3 character are for the extension .
- Extension is optional :
- eg : C : / > copy con ram
- I am a good boy
- 1. file is copied.
- C : / >
- TYPE : Allows the user to see the content of a file .
- Syntax : C : / > Type path
- eg. : C : / > Type D : / > ramu
- REN : The purpose of this command is to rename the old file name with new file name .
- Syntax : C : / > ren old filename New filename
- eg. : C : / > ren ramu somu
- DEL : The purpose of this command is to delete file . the user can also delete a multiple files by using this command and long with while cards.
- Syntax : C : / > del filename . extension
- eg. : C : / > del ramu.xls
- MD : The purpose of this command is to create a new directly or sub directly i.e sub ordinate to the currently logged directly .
- Syntax C : / > md directory or C : / > md sub directory
- eg. : C : / > md College ( Now user wants to create a sub directory first year in college directory then)
- C:/>cd College
- C:/>college >md First year
- CD : The purpose of this command is to change from one directory two other directory or sub-directory.
- Syntax : C : / > cd directory name
- eg. : C:/>cd College
- C:/> college > cd First year
- C:/>college > First year >
( If the user wants to move to the parents directory then use CD command as ) - C:/>college > First year > cd ............
- RD : The purpose of this command is to remove a directory or sub-directory . If the user wants to remove a directory or sub-directory then delete the all files in the sub-directory and then remove sub-directory and then remove a main directory.
- COPY : The purpose of this command is to copy one or more specified files to another disk with same file name or different file name.
- Syntax : C:/> copy source path target path
- C:/> Copy A :/> ~ *. *~ C:/> chinni
Click here to go other blog
Comments
Post a Comment