Liked us?

d

Make a folder named "CON" or "PRN" 0

Coder Himanshu | Thursday, January 13, 2011 | , , ,




Do you know that you cant make a folder named as "con" or "prn". If u dont believe then try to rename a folder give its new name con. It will give error that 'Specified Device name is invalid'. There are many words like con. Some of are them PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5,COM6, COM7, COM8, COM9,PRT, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6,LPT7, LPT8, LPT9.
These words are windows inbuilt reserved device names. so we cant use them.

But here I provide you a trick by which you can name a folder by any of the above specified names, So go n challenge your friends and prove your superiority..

Here is solution, follow these steps:

1) Open Command Prompt (Type cmd in Run).
2) Type md \\.\d:\con to create a con folder in d drive, You can replace d with any drive .
Its done.



Now for deleting it Type
rd \\.\d:\con




0 Responses So Far:

Drop Your Comments, Suggestions And Questions Below.

To Be Notified Of Replies Click The 'Subscribe By Email' Link Below The Comment Form.

Do Not Add Links To The Body Of Your Comment As They Will Not Be Published.