MMWinWord: "TOOLS-PATH Not Valid" Error Message Starting Word

Last reviewed: July 30, 1997
Article ID: Q97438
The information in this article applies to:
  • Microsoft Word for Windows, MultiMedia Edition, version 2.0a-CD
  • Microsoft Word for Windows, Video and Sound Edition, version 2.0c

SUMMARY

When 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:
  • The Word and Bookshelf CD-ROM is not in the CD-ROM drive when you start Word.

-or-
  • The Word and Bookshelf CD-ROM is in the CD-ROM drive, but you have not accessed the drive since you turned on your computer or since you placed the CD-ROM in the drive.

These conditions cause the error because the Microsoft CD-ROM Extensions (MSCDEX) has not yet read the CD-ROM. As a result, MSCDEX cannot provide the information Word requests to verify the TOOLS-PATH setting at startup.

Use one of the following workarounds to avoid this error message:

Workaround 1

Access 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:

  • Method 1: Add the following two lines to the AUTOEXEC.BAT file before the line that starts Windows

          <drive1>:
          <drive2>:
    

    where <drive1> is the drive letter of the CD-ROM drive and <drive2> is the drive letter where Windows is located. For example:

          e:
          c:
    

    Note: This method does not work with all CD-ROM drivers currently available. If it does not work, use Method 2 below.

-or-
  • Method 2: Add the following line to the AUTOEXEC.BAT file before the line that starts Windows

          dir <drive1>:\ > nul
    

    where <drive1> is the drive letter of the CD-ROM drive. For example:

          dir e:\ >nul
    

-or-
  • Method 3: Before you start Word, open Windows File Manager and select the CD-ROM drive letter. This causes MSCDEX to read the CD-ROM.

Workaround 2

Do 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:

  1. Quit Word.

  2. Copy WINWORD.HLP and WINWORD.IND from the WORD directory on the Word and Bookshelf CD-ROM to the Word for Windows program directory on the hard disk. To do this from an MS-DOS command prompt, type the following

          copy <drive1>:\word\winword.hlp <drive2>:\winword
          copy <drive1>:\word\winword.ind <drive2>:\winword
    

    where <drive1> is the drive letter for the CD-ROM drive and <drive2> is the drive letter where Word for Windows is located. For example:

          copy e:\word\winword.hlp c:\winword
          copy e:\word\winword.ind c:\winword
    

  3. Remove the TOOLS-PATH line from the [Microsoft Word 2.0] section of your WIN.INI file. Word no longer checks the CD-ROM drive to verify the TOOLS-PATH, so the error message no longer occurs.

  4. Restart Word. When you choose Word User's Guide from the Help menu, Word uses the User's Guide file from the hard disk instead of from the CD-ROM.

Workaround 3

Do 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:

  1. Quit Word.

  2. Copy WORDHELP.BAK from the WORD directory on the Word and Bookshelf CD-ROM to the Word for Windows program directory on the hard drive and name the file WINWORD.HLP. To do this, from an MS-DOS command prompt, type the following

          copy <drive1>:\word\wordhelp.bak <drive2>:\winword\winword.hlp
    

    where <drive1> is the drive letter for the CD-ROM drive and <drive2> is the drive letter where Word for Windows is located. For example:

          copy e:\word\wordhelp.bak c:\winword\winword.hlp
    

  3. Remove the TOOLS-PATH line from the [Microsoft Word 2.0] section of your WIN.INI file. Word no longer checks the CD-ROM drive to verify the TOOLS-PATH, so the error message no longer occurs.

  4. Restart Word. When you choose Word User's Guide from the Help menu, Word uses the standard Word for Windows help file from the hard disk instead of the online Word User's Guide from the CD-ROM.

Workaround 4

Change 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 MAIN
OldToolsPath$ = 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", .Delete
Else
   ToolsOptionsWinini .Application = "Microsoft Word 2.0", \
   .Option = "TOOLS-PATH", .Setting = OldToolsPath$, .Set
EndIf
End Sub

Note: 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 INFORMATION

Multimedia 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:\WORD

where 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
KBSubcategory:
Additional query words: winword winword2
2.0a-CD 2.0c MMWinWord kbmm



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.