OFF97: Setup Adds Info to PATH Variable in Autoexec.batLast reviewed: March 13, 1998Article ID: Q156352 |
The information in this article applies to:
SUMMARYWhen you install Microsoft Office 97, the Setup program may add information to the PATH statement in the Autoexec.bat file. This may cause problems with other programs that rely on information stored in the PATH variable.
MORE INFORMATION
Why Is Information Added to the PATH Statement?When you install Microsoft Office 97, the Setup program places all of the programs (for example, Microsoft Excel and Microsoft Word) and the dynamic- link library (.dll) files they need in a single folder on the hard disk; by default, this folder is the Program Files\Microsoft Office\Office folder. However, if you perform a Custom installation of Microsoft Office, you have the option of choosing different folders for the Microsoft Office programs. If you choose this option and install any of the programs into separate folders, the Setup program adds the information to the PATH statement in the Autoexec.bat file. Specifically, Setup adds the path to the default file location, Program Files\Microsoft Office\Office. Setup adds the information to the PATH statement because the Microsoft Office programs are designed to look in the following locations for .dll files that they need:
For example, if you perform a Custom installation of Microsoft Office 97 and place the Office programs in the following locations:
Program Location --------------------------------------------------------------- Microsoft Excel C:\Program Files\Microsoft Office\Office Microsoft Word C:\Program Files\Microsoft Office\Office Microsoft Access C:\Program Files\Microsoft Office\Access Microsoft PowerPoint C:\Program Files\Microsoft Office\Office Required .dll files* C:\Program Files\Microsoft Office\Office * You cannot change the location for the .dll files.When you start Microsoft Access, it looks for the .dll files that it needs in the following locations:
How Is the New Information Added to the PATH Statement?If you use the Setup program to install a program to a different folder, Setup adds the path to the default folder to the beginning of the PATH variable. For example, if the PATH statement is:
PATH=C:\Win95;C:\Win95\Command;C:\Mydata;C:\OtherappThe Setup program modifies the PATH statement as follows:
PATH=C:\PROGRA~1\MICROS~4\OFFICE;C:\Win95;C:\Win95\Command;C:\Mydata; C:\OtherappNOTE: The path to the default folder is added in the 8.3 MS-DOS naming convention. This format minimizes the length of the PATH variable. Also, the number following "MICROS~" may not be 4; it varies depending on what other folders are present in the Program Files folder.
What Problems Might I Encounter Due to Changes in the PATH Variable?
|
Additional query words: OFF97 8.00 batch XL97
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |