Presentation is loading. Please wait.

Presentation is loading. Please wait.

DIR : Displays a list of files and subdirectories in a directory. Syntax: DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] /P.

Similar presentations


Presentation on theme: "DIR : Displays a list of files and subdirectories in a directory. Syntax: DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] /P."— Presentation transcript:

1 DIR : Displays a list of files and subdirectories in a directory. Syntax: DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] /P Pauses after each screen ful of information. /S Displays files in specified directory and all subdirectories. EXAMPLE C:\> dir/p d: DEL/ERASE: Deletes one or more files. Syntax: DEL [/P] [/F] [/S] [drive:][path][filename] Example C:\> del d:\home\abc.txt /p

2 COPY : Copies one or more files to another location. Syntax: COPY source destination Example: C:\> copy c:\*.dic d:\home RENAME/REN: Renames a file or files. Syntax: RENAME [drive:][path]filename1 filename2. EXAMPLE: C:> rename d:\home\abc.txt xyz.txt TYPE : Displays the contents of a text file or files. Syntax: TYPE [drive:][path]filename EXAMPLE: C:> type abc.txt

3 MD/MKDIR: Creates a directory. Syntax: MD [drive:]path Example C:> md english RD/RMDIR: Removes (deletes) a directory. Syntax: RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. Example C:> rd d:\home CD/CHDIR: Displays the name of or changes the current directory. Syntax: CD [/D] [drive:][path] or CD[.. ] Example C:> cd c:\home

4 MORE : Displays output one screen at a time. Syntax: command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]] /E Enable extended features /C Clear screen before displaying page Example: C:\> tree c: | more EDIT/NOTEPAD : This command is use to create or editing text file in the form of full screen. Syntax: Edit/Notepad [ [path][filename] ] Example: C:\> edit abc


Download ppt "DIR : Displays a list of files and subdirectories in a directory. Syntax: DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] /P."

Similar presentations


Ads by Google