Tuesday 6 September 2011

Working in MS-DOS Part-2

Command name: MD
Purpose: To create directories(folders)
Syntax: MD [drive]\path\path\path\.........

path indicates the place where do you want to create your directory.It is necessary to type the path correctly.If the path is wrong,it will show error.


Application:
1.Suppose you want to create a folder named ABC under drive C: when your prompt is  also on C:\>
   Type: MD C:\ABC & press enter or just type MD ABC & press enter
2.Suppose you want to create a folder named Documents in drive D:\ when your prompt is on C:\>
   Type: MD D:\Documents & and press enter
(you have to type the drive name where you want to create the folder if your prompt is different)
3.Suppose you want to create folders in this order at D: drive:-
                 ABC\BIN\FIN\DOC
when your prompt is on C:\>


If you type MD D:\ABC\BIN\FIN\DOC,this folders will be created.But it is authentic way to create these folders step by step.So,to create these folders,type these commands one by one:
MD D:\ABC & press enter
MD D:\ABC\BIN & press enter
MD D:\ABC\BIN\FIN & press enter
MD D:\ABC\BIN\FIN\DOC & press enter


This is all about 'MD' command

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...