Data Files Without Extensions Cause Command-Line Fault

Last reviewed: November 23, 1994
Article ID: Q88147
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SYMPTOMS

Windows-based applications cannot open data files without extensions when you use the Program Manager's or File Manager's Run command or when you use the Command Line box in Program Item Properties.

If you attempt to open a data file without an extension, the application will automatically try and open the data file with the application's default extension, and will stop with a message about the file missing.

For example, if you try and open a data file called TEST in Write, then Write display the following error message:

   C:\TEST.WRI
   File not Found

   Please verify that the correct path and filename are given.

WORKAROUND

To work around this problem:

  • Make sure the data file has an extension. It does not need to be the application's default extension.
  • Run the application first and then open the data file without extension through the File menu's Open command.

This problem has been tested in version 4.0 of Excel for Windows, version 2.0 of Word for Windows, Windows Write, and Windows Notepad.

STATUS

Microsoft has confirmed this to be a problem in Windows version 3.1. We are researching this problem and will post new information here as it becomes available.


KBCategory: kbtool kbdisplay kbbuglist
KBSubcategory: win31
Additional reference words: 3.10 3.11


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.