WD: Can't Use NoLongNetNames with Word Versions Later Than 6.0
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
- Map the network drive to a drive letter.
- Use the RegOptions macro to reset the default document location:
- On the Tools menu, click Templates And Add-ins.
- Click Add.
- Locate the Macros subfolder. By default, Word macro templates are
installed in the \Program Files\Microsoft Office\
Office\Macros folder.
- Select the Support8.dot file and click OK.
This step adds the Support8 template to the "Global Templates and Add-
ins" box.
Click OK.
- On the Tools menu, point to macro, and then click Macro.
- In the Macros In list, click "Support8.dot (Global Template)." In the
Macro Name list, click RegOptions and then click Run.
- Select the Word 8.0 Options tab.
- In the Option list, select DOC-path.
- In the Setting box, type the path to the network location (for
example, G:\user\mydocs).
- Click OK.
Word 7.0
- Map the network drive to a drive letter.
- Use the RegOptions macro to reset the default document location:
- On the File menu, click Templates.
- Click Add.
- Change to the Macros subfolder under Winword (for example,
C:\Msoffice\Winword\Macros).
- Select the Macros7.dot file and click OK. This step adds the Macros7
template to the "Global Templates and Add-ins" box. Click OK.
- On the Tools menu, click Macro.
- In the Macros Available In list, click "Macros7.dot (Global
Template)." In the Macro Name list, click RegOptions and then click
Run.
- In the Section box, select Word 7.0 Options.
- In the Option list, select DOC-path.
- In the Setting box, type the path to the network location (for
example, G:\user\mydocs).
- 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.
- Start Registry Editor (Regedt32.exe) and go to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Word\6.0\Options
- Double-click Doc-path
- In the String box in the String Editor dialog box, type the path to the
network location.
- 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:
Q138418 Can't Use UNC Drive for Document Path on Some Networks
Additional query words:
Keywords : wordnt winword ntword word7 word95
Version : WINDOWS:7.0,7.0a,97; winnt:6.0
Platform : WINDOWS winnt
Issue type :
|