creating folder named "con"

coderzone's Avatar, Join Date: Jul 2004
Team Leader
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...
einfoway's Avatar, Join Date: Jul 2004
Newbie Member
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
pradeep's Avatar, Join Date: Apr 2005
Team Leader
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.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
SATYAN JANA's Avatar
Light Poster
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 ...
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
arbaz.it's Avatar, Join Date: Feb 2008
Ambitious contributor
nice one
lead.smart34's Avatar, Join Date: Feb 2008
Contributor
i tried its true
harish714's Avatar, Join Date: Feb 2008
Go4Expert Member
really
parvez.yu's Avatar, Join Date: Feb 2008
Ambitious contributor
ya con is a command,so no folder can have that name