"con" and command line

  • Thread starter Thread starter Mike Anderson
  • Start date Start date
M

Mike Anderson

Why does my system freak out when I type "edit con.cpp"

If I just type in "con" and press Enter I get the error message:

' ' is not recognized as an internal or external command,
operable program or batch file.

For some reason "con" with all variations of extensions seems to be
filtered out by Win2k. What is going on and what is the purpose of
this?

Mike
 
These are reserved names by the operating system.

CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Why does my system freak out when I type "edit con.cpp"
|
| If I just type in "con" and press Enter I get the error message:
|
| ' ' is not recognized as an internal or external command,
| operable program or batch file.
|
| For some reason "con" with all variations of extensions seems to be
| filtered out by Win2k. What is going on and what is the purpose of
| this?
|
| Mike
 
Dave said:
These are reserved names by the operating system.

CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL
I have a feeling CLOCK$ is as well (it is in early DOS through W98)
 
Back
Top