| DIR Directory Commands are given below: | |||
| Sl.No. | Command | Function | Usage |
| 1 | DIR | By using this command to display files and folders in particular drive. | DIR press Enter. |
| 2 | DIR <Drive> | List all files from the current directory of drive mentioned. | DIR A: Enter> DIR C: Enter> |
| 3 | DIR<Drive>/<Directory> | List all files present in the Subdirectory of the drive mentioned. | DIRA:\msoffice <Enter> |
| 4 | DIR<*.extension> | Lists all fields with the extension DOC present in the current drive. | DIR*.DOC <Enter> |
| 5 | DIR / P | By using this command to display files and directories In the Page. | DIR/P press Enter. |
| 6 | DIR/W | To display files and directories in width wise. | DIR/W |
| 7 | DIR/ah | To Display the hidden files present in the DIR/ah Directory | DIR/ah |
| 8 | DIR / ON | By using this command to display files and Directories in ascending order by name wise. | DIR/ON – Enter |
| 9 | DIR / O-N | To display files and directories in descending order By name wise. | DIR / O-N press Enter. |
| 10 | DIR / OS | To Display files and directories lowest size to Highest size | DIR/ OS press Enter. |
| 11 | DIR / O-S | To display files and directories highest size to Lowest size. | DIR /O-S press Enter. |
| 12 | DIR/OD | To Display files and directories old data to new data. | DIR/OD press Enter. |
| 13 | DIR/O-D | To Display files and directories new data to old data. | DIR/O-D Press Enter. |
| 14 | DIR/OG | To Display files and directories in group wise. | DIR/OG press Enter. |
| 15 | DIR/O-G | To Display files and directories. | DIR/O-G press Enter. |
| 16 | DIR / OE | To Display files and directories in Extension wise. | DIR / OE press Enter |
| 17 | DIR/AD | To display only directories. | DIR /AD press Enter. |
| 18 | DIR/ A-D | To Display only files. | DIR / A-D press Enter. |
| 19 | DIR/ AR | To Display read only files. | DIR/AR press Enter. |
| 20 | DIR/AS | To Display only system files. | DIR/AS Press Enter. |
| 21 | COPY CON | By using this command you can create files in MS-DOS. Syntax : copy con filename.extention | EX :- copy con Zameer.txt press (Enter) |
| 22 | COPY | To copy 1 file to another file you can use this Command copy source target. | EX: - copy old filename new filename (Harini, Infosys). |
| 23 | REN (Rename ) | By using this command you can change files or folders names. Ren old file name new file name. | EX:- Run Sony china (Harini ,Infosys) |
| 24 | Delete | By using this command you can delete files in MS-DOS. DEL file name. | Del china (Infosys) |
| 25 | MD (make Directory ) | By using this command you can create a directory in MS- DOS. | MD Directory name. EX:- CD India. |
| 26 | CD ( Change Directory ) | To change one directory to another directory. You can use this command.CD, directory name. | EX:- CD India |
| 27 | RD (Remove directory ) | By using this command you can Remove a Directory in MS-DOS. | RD directory name. EX:- RD INDIA. |
| 28 | NOTE | By using Recommend to delete a directory it must be Empty. | NOTE Enter |
| 29 | RD - Drive - Directory name | Used it relive a directory. If you want to remove a directory, first make sure that all the files and sub-directories. Under it are removed. | RD new files – Enter |
| 30 | Type - Drive - Directory - File Name. | Displays the contents of a text file. If the file I not a text file, then junk characters will be displayed. | Type my file.tex - Enter. |
| 31 | VER - Enter | Displays the Version of Dos | VER - Enter. |
Saturday, December 3, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment