Cannot Open Documents with Spaces in Name by Double-ClickingLast reviewed: January 6, 1998Article ID: Q132635 |
The information in this article applies to:
SYMPTOMSWhen you try to open a file with a long filename that contains a space by double-clicking the file in My Computer or Windows Explorer, you may receive the following error message
Cannot open "<name>" please verify the correct path and filename are givenwhere <name> is only part of the full filename.
CAUSEBy default, the command line that is run when you double-click a file is exactly what the associated program registered, except that the full path name is substituted for %1 in the command line. If the registered command line does not contain %1, the filename is appended to the end of the line. Some programs parse the command line looking for arguments, and see the space in the appended filename as a separator for an argument. Such programs try to open the file using the portion of the filename before the space.
RESOLUTIONPlace "%1" (with the quotation marks) on the end of the command line for the association with the specific document type. To do so, follow these steps:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis problem applies only to 32-bit programs. 16-bit programs use the file's short MS-DOS name, which does not contain spaces.
|
Additional query words: 95 wordpad paint lfn longfilename
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |