Why can't there be file/folder named con?

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

Guest

I am unable to make a file/folder with name con. I receive a message stating
that 'con' is a reserved device name. Why is it so?
 
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
 
Gaurav said:
I am unable to make a file/folder with name con. I receive a message
stating that 'con' is a reserved device name. Why is it so?

That message gave you the answer. There are other reserved device names
as well: CON PRN AUX NUL LPT1 LPT2 LPT3 LPT4 COM1 COM2 COM3 COM4 etc.
 
Con is the name of the keyboard (if reading) or monitor (if writing). This con file exists in every folder.
 
Been asked before!!!

The ERROR message gave you the answer, silly!!
'con' is a reserved device name!!
WHY??
Why is the sky blue? Windows reserved it!
 
Back
Top