Con Folder
#5
Posted 30 August 2005 - 05:48 PM
Can't it is a restricted filename
#6 Guest_Necrocide_*
Posted 30 August 2005 - 07:42 PM
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.
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.
#8
Posted 31 August 2005 - 07:17 AM
rakesh11, on Aug 31 2005, 06:13 AM, said:
Can anybody tell me what is the technical reson for the same???
THose names are reserved cause they are 'DOS' device names.
Quote
DOS device names are reserved words, and cannot be used as folder or file names. When parsing a reference to a file or folder, Windows correctly checks for the case in which a single DOS device name is used in the path, and treats it as invalid.
- SerhaT -
#10
Posted 01 September 2005 - 02:33 PM
[_-ViCiOuS-_], on Aug 31 2005, 02:44 PM, said:
yes and rd /Q \\.\c:\ to del it
or first rd /S /Q \\.\c:\con if con is not empty then first command
Mais pourquoi vouloir à tout prix creer des folders à la 'con' ? :D

Sign In
Register
Help
MultiQuote