• Skip to main content
  • Skip to primary sidebar
  • Advertise

Computer Tips And Tricks, Gadgets, How-To, Life - 2.0 Style

Get latest technology updates and computer tips and tricks.

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 ?

April 17, 2009 by Gautam

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.

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

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 🙂

Filed Under: Computer Tips And Tricks, How To's Tagged With: and LPT9, AUX, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, CON, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, NUL, PRN

Reader Interactions

Comments

  1. baz mohammad says

    November 29, 2016 at 4:47 pm

    we can creat in through dos commnd

  2. baz mohammad says

    November 29, 2016 at 4:45 pm

    we can creat this folders through dos commands

  3. BIREN says

    November 17, 2012 at 2:01 pm

    After creating this type of folder, how can i access that folder by command prompt. ???

  4. mia says

    November 14, 2012 at 10:32 pm

    I dont understood all please write clearer.

  5. kailash panchal says

    August 8, 2012 at 6:11 am

    good,
    but how can we delete con,aux this type folder so i will explain.
    frst of all you go on commandd prompt and type
    c:\>rmdir\\.\(and your path)\con then press enter
    example :- c:\>rmdir\\.\c:\con
    follw above instruction good day by………………..

  6. Shreedhar says

    January 29, 2012 at 10:48 pm

    How can I make password to my personal folder?

  7. Nisala says

    September 18, 2010 at 9:21 pm

    Thank you, you are great

  8. Nisala says

    September 18, 2010 at 9:21 pm

    Thank you, you are greate

  9. Deepak says

    March 28, 2010 at 8:59 pm

    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.

  10. Gautam says

    February 15, 2010 at 5:51 pm

    @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

  11. rajni kant roy says

    February 15, 2010 at 8:44 am

    your answer is wrong for windows xp.my brother.

  12. jagga says

    September 17, 2009 at 10:59 am

    hiiiiiiiiiii

Trackbacks

  1. Make a Hidden Windows Dropbox Folder says:
    June 24, 2011 at 11:11 pm

    […] in Windows and Linux, do not call the folder any reserved name.(Okay, there really is a way to create these folders, but we do not recommend it.)What About Macs?I did not have a Macintosh computer to […]

Primary Sidebar

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in