What's wrong with CON ?!
Something new, at least to me. Here goes an email that I just received:
You read it and know what it says. So why does it happen? Is it YAB (yet another bug)? No. Actually, it is just one of many restrictions on naming a file or folder. The reason "con" cannot be used is that it is a reserved device name which means "console", in DOS, and since Windows uses a DOS-like command processor, it compatibly imposes the same restriction. There is a list of similar reserved names: PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. PRN means "printer", AUX "auxillary device", NUL "nonexistent device", COM1 "first serial port", LPT1 "first parallel port", and so forth. It is also illegal to name a file or folder with one of those reserved names followed by an extension, e.g. "con.txt".
Back to the email. It says that Bill Gates and the whole development team didn't know why "con" couldn't be used as a file/folder name. Come on, haven't you figured that out yet? It might be the case that Gates and the team were all too busy to explain that simple naming restriction. Or, you know, when something circulates around in a medium like email, it tends to get spiced up.
An Indian discovered that nobody can create a folder or file 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
You read it and know what it says. So why does it happen? Is it YAB (yet another bug)? No. Actually, it is just one of many restrictions on naming a file or folder. The reason "con" cannot be used is that it is a reserved device name which means "console", in DOS, and since Windows uses a DOS-like command processor, it compatibly imposes the same restriction. There is a list of similar reserved names: PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. PRN means "printer", AUX "auxillary device", NUL "nonexistent device", COM1 "first serial port", LPT1 "first parallel port", and so forth. It is also illegal to name a file or folder with one of those reserved names followed by an extension, e.g. "con.txt".
Back to the email. It says that Bill Gates and the whole development team didn't know why "con" couldn't be used as a file/folder name. Come on, haven't you figured that out yet? It might be the case that Gates and the team were all too busy to explain that simple naming restriction. Or, you know, when something circulates around in a medium like email, it tends to get spiced up.
21 Comments:
This comment has been removed by a blog administrator.
By Anonymous, at January 22, 2010 at 6:25:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at February 8, 2010 at 3:58:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at February 14, 2010 at 9:22:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at February 17, 2010 at 10:08:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at March 3, 2010 at 12:33:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at March 6, 2010 at 2:05:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at March 9, 2010 at 5:55:00 PM GMT+8
Nice fill someone in on and this enter helped me alot in my college assignement. Thanks you as your information.
By Anonymous, at March 19, 2010 at 1:13:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at March 19, 2010 at 6:53:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at March 21, 2010 at 1:47:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 1, 2010 at 8:30:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 8, 2010 at 3:58:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 11, 2010 at 10:43:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 11, 2010 at 3:26:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 16, 2010 at 9:39:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 18, 2010 at 11:49:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 21, 2010 at 1:00:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 21, 2010 at 4:20:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 23, 2010 at 9:38:00 AM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at April 24, 2010 at 10:24:00 PM GMT+8
This comment has been removed by a blog administrator.
By Anonymous, at May 6, 2010 at 1:09:00 AM GMT+8
Post a Comment
<< Home