PRB: Can't Open or Save a File Named CON or LPT1ID: Q133456 The information in this article applies to:
SYMPTOMSTyping 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:
CAUSEThe filename CON is a valid pre-existing Device in MS-DOS. It is the same as trying to use LPT1 as a file name.
RESOLUTIONDo not use reserved words or device names as a name for a file.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Problem1. Type MODIFY CLASS in the Command window. 2. Type CON in the class library name box of the Open dialog box. 3. Press ENTER or click Open. Additional reference words: 3.00 VFoxWin KBCategory: kbenv kbprb KBSubcategory: FxenvOs |
Last Reviewed: August 1, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |