Friday, January 27, 2012

ENTERNAL'S COMMAND'S SYSNTAX_2



/s

Display files in specified directory and all subdirectories.

Example:

C:\>DIR-------press enter

Display the files and directories of current drive.

C:\WINDOWS>DIR *.EXE -------------press enter
           
Displays the files having extension EXE from the windows sub directory of drive

C:\ DIR A----------------press enter
           
Display the files and directories of the file of drive A:staying at C:

C:\DIR D:\MYPROJECT\*.DOC/A:H---------------press enter

Display the files having hidden attribute set and extension DOC from the MYPROJECT subdirectory of D:staying C:

C:\DIR *.* /P/W---------PRESS ENTER
           
            Display all the read only directories of current drive C:in pagewise and widthwise format

A:\>DIR/A:R/S---------press enter

            Displays all the read only files of A:drive searching lower sub directories as well

MD
MD stands for make directory .This command creates a directory or subdirectory.
Syntax
            MD[Drive:]Path
Parameters

Drive:
            Specifies the drive on which you want to create the new directory.
Path
            Specifies the name and location of the new directory.

No comments:

Post a Comment