WD: Can't Use NoLongNetNames with Word Versions Later Than 6.0

Last reviewed: March 13, 1998
Article ID: Q145091
The information in this article applies to:
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

If you add the NoLongNetNames option to the Registry, it has no effect on whether Word is able to resolve a network connection. Word will return the universal naming convention (UNC) path when you view the following:

  • A {FILENAME /p} field. The /p switch returns the path to the open document.

    -or-

  • The File Locations tab. To view the File Locations tab, click Options on the Tools menu.

WORKAROUND

Use the RegOptions macro in Word 7.x and Word 97 and use the Windows NT Registry editor (Regedt32.exe) for Word for Windows NT to map the network drive to a drive letter.

Word 97

  1. Map the network drive to a drive letter.

  2. Use the RegOptions macro to reset the default document location:

    a. On the Tools menu, click Templates And Add-ins.

    b. Click Add.

    c. Locate the Macros subfolder. By default, Word macro templates are

          installed in the \Program Files\Microsoft Office\
          Office\Macros folder.
    

    d. Select the Support8.dot file and click OK.

          This step adds the Support8 template to the "Global Templates and Add-
          ins" box.
    

          Click OK.
    

    e. On the Tools menu, point to macro, and then click Macro.

    f. In the Macros In list, click "Support8.dot (Global Template)." In the

          Macro Name list, click RegOptions and then click Run.
    

    g. Select the Word 8.0 Options tab.

    h. In the Option list, select DOC-path.

    i. In the Setting box, type the path to the network location (for

          example, G:\user\mydocs).
    

    j. Click OK.

Word 7.0

  1. Map the network drive to a drive letter.

  2. Use the RegOptions macro to reset the default document location:

    a. On the File menu, click Templates.

    b. Click Add.

    c. Change to the Macros subfolder under Winword (for example,

          C:\Msoffice\Winword\Macros).
    

    d. Select the Macros7.dot file and click OK. This step adds the Macros7

          template to the "Global Templates and Add-ins" box. Click OK.
    

    e. On the Tools menu, click Macro.

    f. In the Macros Available In list, click "Macros7.dot (Global

          Template)." In the Macro Name list, click RegOptions and then click
          Run.
    

    g. In the Section box, select Word 7.0 Options.

    h. In the Option list, select DOC-path.

    i. In the Setting box, type the path to the network location (for

          example, G:\user\mydocs).
    

    j. Click OK.

Word 6.0

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.

  1. Start Registry Editor (Regedt32.exe) and go to the following key:

          HKEY_CURRENT_USER\Software\Microsoft\Word\6.0\Options
    

  2. Double-click Doc-path

  3. In the String box in the String Editor dialog box, type the path to the network location.

  4. Click OK.

MORE INFORMATION

NoLongNetNames is an option that was added to some early versions of Word for Windows to disable UNC support. This setting instructs Word to always use the logical drive letter instead of the UNC path. This option is not supported in Microsoft Word for Windows versions later than 6.0. This change affects the versions listed at the beginning of this article.

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q138418
   TITLE     : Can't Use UNC Drive for Document Path on Some Networks
Keywords          : ntword winword word7 word95 wordnt kbfaq
Version           : 6.0 7.0 7.0a 97
Platform          : WINDOWS


================================================================================


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: March 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.