"con" and command line

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
 
D

Dave Patrick

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
 
M

Mike Jones

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)
 

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