Music atm: Ela foi para a Guerra – Os Azeitonas
Hey guize!
I’ve been on my regular studying marathon for a few days by now, but, just like everyone else, I deserve a few breaks every now and then. So, while surfing the interwebs in one of these breaks, it was really peculiar for me to find out I couldn’t create a folder named “con” on any Windows System. I can say this really made quite curious.
Something as big as this must have a meaning.
And this is precisely why I challenge you to create a folder with said name. Then tell me what happened! ;)
Truth is, after a few frustrating attempts, I decided to Google the big reason and here’s the conclusion I came to:
Apparently, the name “con”, like many other names I’ll tell you later, is a word reserved by the OS and can’t be used for either directories or files. Queer! It was quite funny to know that this is probably caused by some residual MS-DOS code. Back then, these words were used to name Devicesambiguousity (call them mouse, keyboard, printers, whatever), and having a folder or file with said name would cause on the system, but probably that’s going too far…
For whoever’s interested, here’s a lil’ list:
- CON
- PRN
- AUX
- NUL
- COM[1-9]
- LPT[1-9]
From http://en.wikipedia.org/wiki/Device_file#Device_files
But of course, this is not what you wish to know. By now you probably tried to make the scary “con” by yourselves and therefore I’ll show how you can get there and ease your pain (oooh, it’s really good to have a search engine around!):
So, go to the command prompt (Run > cmd) and go to your favourite directory (I picked Desktop since that’s where I put my scary stuff!) and do:
- mkdir \\.\C:\con
By this time, this must have happened:

And even more interesting, from the commmand prompt view: (oh, there are my awesomely-named files among the garbage!):

To get rid of it, just go for the inverse:
- rmdir \\.\C:\con
And goodbye new toy!
Intersting adventure, no? xD






English
Português








