File Manager: Association Fails if Path to Command Has SpacesLast reviewed: June 6, 1995Article ID: Q124122 |
The information in this article applies to:
SUMMARYIn Windows NT version 3.5, a file association created in File Manager will fail if a directory in the path has spaces in its name. For example: If WINWORD.EXE is located in D:\WIN32 APPS\WINWORD, choosing a .DOC file in File Manager displays a Program Not Found dialog box with the following message:
Cannot find WIN32.EXE. This file is needed to run files with the extension 'DOC.'To work around this problem, edit the command string:
\HKEY_CLASSES_ROOT\<extension>\shell\open\commandwhere <extension> is the file type or extension you wish to modify. To work around this problem, include the complete path to the executable file in the command value. WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
CAUSESpaces have historically been interpreted as characters separating arguments or commands from one another. Since Windows NT version 3.5 allows files and directories to contain spaces in their names, many programs may need to be modified to accommodate the new file and directory structure.
STATUSMicrosoft has confirmed this to be a problem in Windows NT version 3.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. This problem was corrected in Windows NT version 3.51.
|
KBCategory: kbui kbtool kbbug3.50 kbfix3.51
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |