DevPinoy.org
A Filipino Developers Community
   
I never knew that...

I never knew that...

"The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

You must avoid using these names as a file name suffix or file name body, so you have to avoid names such as aux.c, file.aux or NUL.txt. "


Posted 10-12-2005 12:52 AM by keithrull
Filed under:

Comments

jokiz wrote re: I never knew that...
on 10-11-2005 9:16 PM
actually, you don't have to avoid the said names, because you can't have them as names because the system won't allow you.

these words as extension (file.aux) is allowable....

i wonder what kind of exception is thrown when a file with the reserved words as filename is created in .NET
Copyright DevPinoy 2005-2008