NT: OLE, Setup, and MOM Problems with Long Directory NamesLast reviewed: September 16, 1996Article ID: Q124927 |
The information in this article applies to:
SYMPTOMSThe following symptoms occur if you install Microsoft Excel or Microsoft Word to a directory with a long name that contains a space character:
CAUSEThis behavior occurs when you run the Microsoft Excel or Microsoft Word Setup program, and you change the default directory to a long filename that contains a space, such as C:\this is a long directory\excel.
WORKAROUNDSTo avoid receiving any of these symptoms, install Microsoft Excel or Microsoft Word to a directory that does not contain any space characters. To reinstall Microsoft Excel or Microsoft Word, do the following:
1. In File Manager, rename the Microsoft Excel or Microsoft Word directory by changing any spaces in the directory name to underscore characters. 2. Rename the SETUP.STF file (located is in the SETUP subdirectory of the directory to which you installed the application). 3. Run Setup again, and install the application to the directory that you renamed in Step 1.This procedure corrects all of the symptoms listed above, and must be used to correct the error you receive when you insert a Microsoft Excel or Microsoft Word object. Note that if you reinstall Microsoft Excel to a new directory, you may receive an error message when you start Microsoft Excel, indicating that Microsoft Excel cannot locate the add-in files. If you receive this error message, you can use the Add-Ins dialog box to correct the path to the add-in files.
Inserting ObjectTo avoid receiving an error message when you insert a Microsoft Excel 5.0 Worksheet object, or a Microsoft Word 6.0 Document object, see the workaround listed above.
MOM ToolbarTo avoid receiving an error message when you run Microsoft Excel or Microsoft Word from the MOM toolbar, you can create a custom button by doing the following:
Office Manager Menu SetupTo avoid receiving an error message when you run Setup from the Microsoft Office menu, run Setup from your original installation disks, from the Microsoft Office CD, or by using the Setup icon in Program Manager.
MS Excel Samples IconTo avoid receiving an error message when you double-click the MS Excel Samples icon at Program Manager, change the command line for the MS Excel Samples icon to include the application path in quotation marks. For example, change the following icon command line
"c:\this is a long filename\examples\samples.xls"to the following:
"c:\this is a long filename\excel.exe" "c:\this is a long filename\examples\samples.xls" STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESREADME.TXT, Microsoft Office for Windows NT, version 4.2, Root directory of the Microsoft Office CD For more information about how to Customize Toolbar, choose the Search button in Microsoft Office Help and type:
customize |
KBCategory: kbole
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |