How Can I Create Folder On Windows Named CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 ?
Ok first of all this is one of the coolest prank you can play on your friends if they do not know anything about Windows Operating System !
Walk up to any of your friend and ask them to create a folder named CON or in fact you cannot create a folder named any of these keywords : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
They simply won’t be able to, because Windows will not let you create a folder of any of the keywords mentioned above for a simple reason that these keywords are used by Windows internally and are reserved Keywords. CON was used for CONSOLE, PRN for PRINTER, AUX for AUXILIARY DEVICE, LPT’s for PARALLEL PORTS and such. Microsoft has taken this initiative to avoid any conflict that may arise as a result of using these keywords.
Now if you are wondering whether if you can create a folder named CON, AUX or any other reserved keyword, the answer is YES. There is an evil way to achieve this, but its definitely not advised, as this can create ambiguity. Try this at your own risk.
Here’s how you can achieve this.
1> Open the command prompt on your system by clicking on Start –> Run and then type cmd
2> When the command prompt opens, type md \\.\\”<full-path-to-your-desktop>\CON”
Get the full path to your desktop and put it in between the double quotes where you have <full-path-to-your-desktop>.
3> Hit Enter.
That’s it, now you’ll have a folder named CON on your desktop, now follow the same for all the other keywords !
You are done with creating the folder, now what ? Well you need to delete the folder you created. But try deleting it, you won’t be able to!! Surprised ? Well you had to be, but don’t worry, there is an easy way to delete this folder. To remove the folder you created, follow the steps:
1> Open the command prompt on your system by clicking on Start –> Run and then type cmd
2> When the command prompt opens, type rd \\.\\”<full-path-to-your-desktop>\CON”
Get the full path to your desktop and put it in between the double quotes where you have <full-path-to-your-desktop>.
3> Hit Enter.

This will surely make you look like a geek in front of your friends ! Make sure your friends don’t see what you type in and they’ll assume you to be a computer whizz
Related posts:
- Can I create “Shutdown” And “Restart” Desktop Icons in Windows XP / Vista?
- How Can I Run Batch File or DOS Command Prompt in Explorer
- How to create a table of contents for several documents
- How Do I Get The Recycle Bin Folder Which I Accidentally Deleted In Windows XP
- Cannot delete file/folder problem in windows XP
hiiiiiiiiiii
your answer is wrong for windows xp.my brother.
@Rajni – Can you let me know what the correct solution for this is, so that I can update it. As far as I know and I’ve tested this has worked on XP. Wch exact release of XP is it not working on ? Any more leads on this will be of great help Rajni.
Thanks
I can tell it much easier bro. Just type whatever reserved names, press n hold the Alt key and type ’255′ or ’0160′. Then release the alt key. See the magic works.
Thank you, you are greate
Thank you, you are great
How can I make password to my personal folder?