creating folder named "con"

Team Leader
22Oct2005,05:02   #1
coderzone's Avatar
An Indian discovered that nobody can create a folder anywhere 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...
Newbie Member
22Oct2005,15:09   #2
einfoway's Avatar
hi,

This is not the bug men... You can create the folder with any of the system commands,,,,,

and con is the system command and their are many such commands, dont remember now rest of commands will update you when i get it again ..



Regards
Dharmendra AJwani

Last edited by shabbir; 22Oct2005 at 15:11.. Reason: Links in signature
Team Leader
22Oct2005,15:10   #3
pradeep's Avatar
Isn't it because it's a DOS device?
It is, "con" is for console, as in the command
Code:
copy con filename.ext
Same reason you can't create folders named 'aux', 'lpt1', 'com1', 'prn' or 'nul' either.
Go4Expert Founder
22Oct2005,15:17   #4
shabbir's Avatar
Quote:
Originally Posted by einfoway
hi,

This is not the bug men... You can create the folder with any of the system commands,,,,,

and con is the system command and their are many such commands, dont remember now rest of commands will update you when i get it again ..



Regards
Dharmendra AJwani
Then how can you craete a folder named copy where as copy is also a DOS command. I guess pradeep has a better reason for this.
Light Poster
23Oct2005,12:29   #5
SATYAN JANA's Avatar
Quote:
Originally Posted by coderzone
An Indian discovered that nobody can create a folder anywhere 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...
Hmmm,
there are many more cases....
Try out if you can create a folder named "prn"....

You can not create case sensitive folders too. i.e. if there exists a folder named "abc" then at the same level you can not create another folder named ABC or aBc or ABc ...
Go4Expert Founder
23Oct2005,12:46   #6
shabbir's Avatar
Quote:
Originally Posted by SATYAN JANA
You can not create case sensitive folders too. i.e. if there exists a folder named "abc" then at the same level you can not create another folder named ABC or aBc or ABc ...
Thats because Win is not case sensitive but not allowing con, prn ... is not acceptable from my point of view.
Ambitious contributor
25Feb2008,15:09   #7
arbaz.it's Avatar
nice one
Contributor
26Feb2008,17:31   #8
lead.smart34's Avatar
i tried its true
Go4Expert Member
27Feb2008,09:14   #9
harish714's Avatar
really
Ambitious contributor
10Mar2008,11:28   #10
parvez.yu's Avatar
ya con is a command,so no folder can have that name