unable to create folder with name "con"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

tried to create a folder in Windows XP but unable to do that. Whats the
reason behind that
 
Believe you can't name a folder with the same name as a port on the computer,
including:

CON, LPT1, COM1 (2,3,4), AUX etc.

for certain commands, the OS may be confused with outputting to a folder vs
to a port.

CON is for "console".
 
Thanks Frank.

FrankChin said:
Believe you can't name a folder with the same name as a port on the computer,
including:

CON, LPT1, COM1 (2,3,4), AUX etc.

for certain commands, the OS may be confused with outputting to a folder vs
to a port.

CON is for "console".
 
tried to create a folder in Windows XP but unable to do that. Whats the
reason behind that



Since the earliest days of DOS, "con" has been a reserved word (it
stands for "console") and is unavailable for naming anything.
 
you could press
alt+255 after
you type the
last letter in
con

then enter to
apply the change



--

db ·´¯`·.¸. said:
<)))º>·´¯`·.¸. , . .·´¯`·.. ><)))º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><)))º>


..
 
(e-mail address removed) (=?Utf-8?B?RnJhbmtDaGlu?=) wrote
in
Believe you can't name a folder with the same name as a port on the
computer, including:

CON, LPT1, COM1 (2,3,4), AUX etc.

for certain commands, the OS may be confused with outputting to a
folder vs to a port.

CON is for "console".

Yes; from the command line, try
copy somefile.txt CON

Still, you can create a directory by that name like this:
mkdir c:\con\
rmdir c:\con\
.... etc.

You need the trailing "\". Don't know what happens when you try to
use it though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top