PRB: Can't Open or Save a File Named CON or LPT1
Article ID: 133456
Article Last Modified on 2/15/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q133456
SYMPTOMS
Typing in a file name of CON in an open or save dialog box in Visual FoxPro
running on Windows 3.1 or Windows for Workgroups 3.11 causes the computer
to hang (stop responding). If you are running on Windows NT or Windows 95
you will receive this error:
The filename is a reserved device name. Use a different filename.
CAUSE
The filename CON is a valid pre-existing Device in MS-DOS. It is the same
as trying to use LPT1 as a file name.
RESOLUTION
Do not use reserved words or device names as a name for a file.
STATUS
This behavior is by design.
Additional query words: VFoxWin
Keywords: KB133456