Tuesday, 13 September 2011

Working in MS-DOS Part-4

Command name: RD
Purpose: To delete or remove folders or directories
Syntax: RD [drive:][\path\path\path\..........]

Application:
1.To remove a folder from C: drive named ABC when your prompt is on C:\> also:
    Type: RD ABC & press enter
2.To remove folder named Documents from drive D: when you are in C:\> :
     Type: RD D:\Documents & press enter
3.Remove this directories using RD command:
     D:\BIN\DOC\ABC
A directory cannot be deleted if it has another directory/directories in it.In this type of case,directory/directories have to be deleted one by one.In this case,commands will be like this:
                RD D:\BIN\DOC\ABC & press enter
                RD D:\BIN\DOC & press enter
                RD D:\BIN & press enter

This is about RD command

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...