Name folder with "con"

P

Pegasus \(MVP\)

R&D said:
I cannot name a folder with "con". Is this a Windows bug?

"CON" is a reserved Windows name, same as LPT or aux.
Choose a different name!
 
D

David Candy

Con is the name of the file that for writing is the screen and for reading is the keyboard.

Type

copy con file.txt

<type some crap>

Ctrl + Z

You just copied the keyboard to a file.
 
B

Bruce Chambers

R&D said:
I cannot name a folder with "con". Is this a Windows bug?


No, it's not a bug. "Con" is a reserved device name that refers to the
computer terminal, or monitor.


--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH
 
K

Ken Blake, MVP

Pegasus said:
"CON" is a reserved Windows name, same as LPT or aux.
Choose a different name!


And just to add, this restriction goes back to the earliest days of DOS.
 

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

Top