Search This Blog

Tuesday, July 13, 2010

Directory Management

1.) Creating Directories
c:\>MD apple

2.) Changing Directories
c:\>CD apple

3.) Deleting a directory
c:\>RD apple

4.) Delete directory with all its contents
c:\>Deltree Images

5.) Displaying the directories
c:\>DIR
c:\>DIR c:\WS
c:\>DIR A:

6.) Viewing directory widthwise
c:\>DIR/w

7.) Viewing the list of selected items using switches

Switch Functions
/on ---> a......z order

/o-n ---> z.....a order

/oe ---> extension in z....a order

/od ---> according to date oldest first, latest last

/o-d ---> latest first, oldest last

/os ---> small files first according to file size

/o-s ---> Decreasing files size order

/ad ---> See only sub-directories

9.) Copying the directories
c:\>XCOPY \WS\Letters\Personal A:
c:\>XCOPY A: B:
c:\>XCOPY A:\C:\New

10.) Copying sub-directories
c:\>XCOPY c:\Back A:\ /s/e

11.) Changing directory name
c:\>XCOPY\ACCT New\ACCT= old
c:\>DEL\ACCT/New\*.*
c:\>RD\ACCT/New



No comments:

Post a Comment