MMWinWord: "TOOLS-PATH Not Valid" Error Message Starting WordLast reviewed: July 30, 1997Article ID: Q97438 |
The information in this article applies to:
SUMMARYWhen you start Word for Windows, Multimedia Edition or Video and Sound Edition, you may receive the following error message:
Word cannot use the TOOLS-PATH specified in the WIN.INI file because it is not valid.This error message occurs if either of the following is true:
Use one of the following workarounds to avoid this error message:
Workaround 1Access the CD-ROM drive before you start Word. This causes MSCDEX to become aware of the CD-ROM contents. Use one of the following methods to access the CD-ROM drive:
Workaround 2Do the following to copy the online "Word User's Guide" file to the hard disk and run it from that location instead of from the CD-ROM:
Workaround 3Do the following to copy the original Word for Windows help file to the hard disk and use it instead of the online Word User's Guide:
Workaround 4Change the HelpIndex macro so it establishes the TOOLS-PATH setting when you choose Word User's Guide from the Help menu. When you exit the Word User's Guide, the HelpIndex macro removes the TOOLS-PATH setting. If TOOLS-PATH setting currently exists in the [Microsoft Word 2.0] section of the WIN.INI file that points to the CD-ROM drive, change this setting to the appropriate directory on the hard drive or remove it completely. Replace the existing text in the HelpIndex global macro with the following:
Sub MAINOldToolsPath$ = GetProfileString$("Microsoft Word 2.0", "TOOLS-PATH") ToolsOptionsWinini .Application = "Microsoft Word 2.0", \ .Option = "TOOLS-PATH", .Setting = "E:\WORD", .Set A$ = Files$("E:\*") Super HelpIndex If OldToolsPath$ = "" Then ToolsOptionsWinini .Application = "Microsoft Word 2.0", \ .Option = "TOOLS-PATH", .DeleteElse ToolsOptionsWinini .Application = "Microsoft Word 2.0", \ .Option = "TOOLS-PATH", .Setting = OldToolsPath$, .SetEndIf End SubNote: This macro refers to the CD-ROM drive as drive E:. If your CD- ROM drive is a different drive, be sure to change "E:" in the macro to the correct drive letter.
MORE INFORMATIONMultimedia Word and Bookshelf supplies the "Microsoft Word User's Guide" as a 5 MB online help file, called the Online User's Guide. To conserve disk space, Word runs this file from the CD-ROM by default. When you launch Word, the TOOLS-PATH setting in the [Microsoft Word 2.0] section of the WIN.INI file instructs Word to access the CD-ROM instead of the Word program directory for the online help file. Word checks the validity of the TOOLS-PATH directory before it allows you to use Word. All of the installation options in the MultiMedia Word Setup program add the following TOOLS-PATH setting to your WIN.INI
TOOLS-PATH=E:\WORDwhere E: is the drive letter of the CD-ROM drive. The Microsoft CD-ROM Extensions (MSCDEX) is the interface between MS-DOS and the CD-ROM driver. MSCDEX caches information from the CD-ROM in memory and then uses this cache to respond to requests from applications, such as the request from Word to verify the TOOLS-PATH directory. If the CD-ROM has not been accessed since you turned on the computer or since you changed disks in the CD-ROM drive, the MSCDEX cache contains no information about the current CD-ROM. When Word verifies the TOOLS-PATH directory, it does not force MSCDEX to read the CD-ROM; instead MSCDEX checks its cache for the existence of the TOOLS-PATH directory. As a result, the TOOLS-PATH directory is considered to be invalid unless MSCDEX reads the CD-ROM and updates its cache before Word attempts to verify the TOOLS-PATH directory. Reference(s): "Microsoft Word for Windows User's Guide," version 2.0, page 810
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |