The specified device name is invalid
I'm using Windows 7 Ultimate RTM and I'm having the following issue,I cannot rename the folder 'ConAir.1997' to 'Con.Air.1997'; I get thisRename popup window, 'The specified device name is invalid'
September 20th, 2009 6:14pm

what happens if instead of a "." (period) between "Con" and "Air" you use a "-" (hyphen) or a "_" (underscore)? I don't think you can have two "." in a directory name.
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2009 8:40pm

The "-" (hyphen) or a "_" (underscore) works fine.I have1-7 "." within other titlesanddon't haveany problems.
September 21st, 2009 1:23am

Multiple "."s are not a problem.I think it has something to do with CON being a reserved name, such as COM1, etc.
Free Windows Admin Tool Kit Click here and download it now
September 21st, 2009 3:01am

We cannot create a folder named any of these keywords : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. these keywords are used by Windows internally and are reserved Keywords. CON was used for CONSOLE, PRN for PRINTER, LPTs for PARALLEL PORTS etc.
September 22nd, 2009 5:25am

We cannot create a folder named any of these keywords : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Apparently you can't even use them for the base name of a file.
Free Windows Admin Tool Kit Click here and download it now
September 22nd, 2009 6:58am

Hi neilkpd,Please 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. These words mean devices behaving like files in some ways and are therefore reserved. Folders obey filename rules. But you can trick the system using a low level tool and create an unusable file or folder. You could use it for a copy protection for instance. If you really need a folder named CON, then use "CON<alt-255>". This works and looks like CON because Alt-255 looks like space but is different. Please note: we should press 255 keys on Numeric keypad.Meanwhile, we can use command "md CON\" to create a folder named CON. In addition, I would like to share more information with you. Please refer to File Names, Paths, and Namespaces. Hope the above information is useful for you.Thanks,Candice
September 22nd, 2009 10:04am

Excellent reference, Candice.But it does not say that you cannot use a filename such as CON.AIR. It just recommends against it:"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 immediately by an extension; for example, NUL.txt is not recommended."
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2009 12:47am

Please Please Please !!!!! 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 If You Did You Will Put Your Selfe Under Terms responsibilty. Thread Closed!
May 5th, 2010 3:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics