Naming a folder as “con” or “prn”

i have recived a mail message saying:

Subject: FYI: Very Interesting

An Indian Called Raghu S.Iyer discovered that nobody can create a FOLDER named as “con”.

This is something pretty cool… and unbelievable…

At Microsoft the whole Team, including Bill Gates, couldn’t answer why this happened!

Try it out yourself…

after poking around i have recalled seeing the prn and the con some time in the past… way past Dos commands like the prn=print and so on.

i have looked in the MSDN online lib and found this article with:

Do not use the following reserved device names for the name of a file: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed by an extension, for example, NUL.tx7.

nice to know. but there is a way around
go to command prompt
c:\> md\\.\c:\con
Its done
you can verify your work in the explorer.

hope this helps all of you con artists… 🙂

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.