468,110 Members | 1,556 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Share your developer knowledge by writing an article on Bytes.

How to create & delete Folders like CON, COM1, PRN, AUX, CLOCK$, NUL in Windows XP

1
We cannot make folders of these names because they are reserved for DOS prompt. But we can create and delete those with the help of DOS only.

To create folder named 'con': Go to the command prompt and use the following commands:

Expand|Select|Wrap|Line Numbers
  1. c:\>mkdir \\.\c:\con  or  c:\>md\\.\c:\con
To delete folder named 'con': Go to the command prompt and use the following procedure:

Right-click on the folder CON
Go to the Advanced options
Un-check the Index Services then enter the following commands:

Expand|Select|Wrap|Line Numbers
  1. c:\>DEL \\.\c:\con
or

Expand|Select|Wrap|Line Numbers
  1. c:\>rmdir \\.\c:\con


Regards:
Thakur Rahul Pratap Singh
Developer & Tester
Dec 30 '11 #1
0 15238

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by kuzure | last post: by
1 post views Thread by swethak | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.