Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wanted: Word Hyperlinks to Mapped Drive, NOT to UNC

1,426 views
Skip to first unread message

Michael Bednarek

unread,
Oct 12, 2004, 2:28:40 AM10/12/04
to
WinWord V-9 (same in V-11 I believe):

When I insert a Hyperlink into a document pointing to a file on our
network server, say, F:\SomeDir\Some.doc, WinWord inserts a hyperlink of
the form \\server\share\SomeDir\Some.doc

Instead, I need it to be of the form file://F:\SomeDir\Some.doc; note
that Outlook used as an HTML editor -and not WinWord- will allow that
form. Some of our users insist of using WinWord as their Outlook editor,
and the hyperlinks they create are useless to us - we need them to point
to a mapped network drive, just exactly as we enter them, without any
alteration by WinWord.

Can this be done? If so, how?

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Beth Melton

unread,
Oct 12, 2004, 11:15:40 AM10/12/04
to
You might try this Reg Hack and see if it works:

In the Registry navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options

Under the Options key add a new Binary value with the following:

Name: DontUseUNC
Value: 1

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message
news:1jtmm0dtpv7jeur0i...@4ax.com...

Michael Bednarek

unread,
Oct 12, 2004, 10:22:27 PM10/12/04
to
On Tue, 12 Oct 2004 10:15:40 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>You might try this Reg Hack and see if it works:
>
>In the Registry navigate to:
>HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options
>
>Under the Options key add a new Binary value with the following:
>
>Name: DontUseUNC
>Value: 1

Thank you for your response. It doesn't work, though.

Doing some research based on your response showed that that feature was
introduced in Word-8 (see: <http://support.microsoft.com/kb/q171406/>),
and that the registry value DontUseUNC is in fact a DWord. But this
feature was apparently discontinued, as Support9.dot does not contain
it, similar to the way NoLongNetNames was discontinued after Word-6.

I added the value DontUseUNC=1 (both as Binary and DWord) to the
registry (both under Office\9.0\ and \8.0\), and it did not change
Word's behaviour.

I consider this a serious loss of functionality. Many companies have
mirrored file servers in their various locations, and inserting UNC
links is completely counterproductive. I also resent Word's habit of
correcting what I write.

As I mentioned before, inserting hyperlinks in Outlook's generic HTML
editor works fine: it takes what I type.

Michael Bednarek

unread,
Oct 14, 2004, 9:21:34 PM10/14/04
to
On Thu, 14 Oct 2004 17:04:06 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

[snip]
>Other than that you might try using the Hyperlink Base found under
>File/Properties/Summary but I haven't heard much success using it
>either.
[snip]

Thanks for that hint, but like you I found that it doesn't change
anything in Word's behaviour. It seems that it simply converts the
Hyperlink Base entered as a drive letter to its UNC and strips that from
the display but prepends it to the balloon text when hovering over a
link and the action when a link is clicked.

We spent an awful lot of money to implement live continuous replication
between our file servers in Brisbane and London. Now it turns out that
Word -and Excel- conspire to negate the benefits of such a system.

Not happy, Bill!

I now face the difficult task of persuading about one third of our users
to discontinue using Word as their Outlook editor, and what's worse, to
re-educate all users not to use hyperlinks in Word (or Excel) but to use
simple text which they have to copy/paste into "File open" dialogues.

Not happy, Bill!

J. Hubbard

unread,
Oct 14, 2004, 5:23:38 PM10/14/04
to
We are experiencing a similar problem with Office 2003 SP1,
specifically Microsoft Word using subdocuments. When inserting a
subdocument into a main document and using the drive letter, Word
changes it to the UNC path. NOT desired behavior!! Server's don't last
forever, but hopefully drive letters do...

The aforementioned registry hack doesn't work for us either. I hope
there is a workaround or hotfix released for this. Beth, do you think
you could help us out here please?? Thanks,

John Hubbard


Michael Bednarek <ROT13(z...@gtz.pbz.nh)> wrote in message news:<941pm05v5adcg4vjc...@4ax.com>...

Beth Melton

unread,
Oct 15, 2004, 5:24:44 PM10/15/04
to
I hear you Michael.

I've been meaning to dig a little deeper into this issue for awhile
now so it sounds like this would be a good time. I'll be able to do
some additional testing on this next week when I have a larger network
available. If I find anything substantial I'll post back to this
thread.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message

news:sa8um0dsd06gt96js...@4ax.com...

Michael Bednarek

unread,
Oct 16, 2004, 8:37:28 AM10/16/04
to
On Fri, 15 Oct 2004 16:24:44 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>I hear you Michael.


>
>I've been meaning to dig a little deeper into this issue for awhile
>now so it sounds like this would be a good time. I'll be able to do
>some additional testing on this next week when I have a larger network
>available. If I find anything substantial I'll post back to this
>thread.

I'll be much obliged.

J. Hubbard

unread,
Oct 18, 2004, 11:36:45 AM10/18/04
to
Thanks in advance for your efforts, Beth. We would love to get this
taken care of as well, as I personally believe that Word should offer
a choice between the UNC path and the drive letter path when inserting
a subdocument. Take care,

John Hubbard


"Beth Melton" <bme...@NoSpam4Memvps.org> wrote in message news:<#F7yX3vs...@TK2MSFTNGP11.phx.gbl>...

Beth Melton

unread,
Oct 23, 2004, 11:03:01 AM10/23/04
to
Okay, I was able to finally repro the problem - sorry it took so long.
I think I may have found the solution, thanks to some discussion on a
similar issue in another newsgroup.

See if the following works for you as well:
- Go to Tools/Options/General
- Click the Web Options command
- On the Files tab turn off "Update links on save"

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP


"Michael Bednarek" <ROT13(z...@zorqanerx.pbz)> wrote in message
news:7e52n0941gcid1qc9...@4ax.com...

SPAMSTOPPER

unread,
Oct 24, 2004, 3:40:24 AM10/24/04
to
On Sat, 23 Oct 2004 10:03:01 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Okay, I was able to finally repro the problem - sorry it took so long.

>I think I may have found the solution, thanks to some discussion on a
>similar issue in another newsgroup.
>
>See if the following works for you as well:
>- Go to Tools/Options/General
>- Click the Web Options command
>- On the Files tab turn off "Update links on save"

I'm afraid that didn't make any difference for me - the underlying link
is still converted to UNC. Does anybody else (John Hubbard?) see any
difference?

Michael Bednarek

unread,
Oct 24, 2004, 4:54:59 AM10/24/04
to
On Sun, 24 Oct 2004 17:40:24 +1000, mb(SPAMSTOPPER)@mbednarek.com wrote
in microsoft.public.word.application.errors:

And another thing:
I found KB articles 322955 (for W9) and 323013 (for W11).

These two articles seem somewhat inconsistent: one calls the value in
question "Volume", the other "VolumePref". Both articles claim that to
"use the drive letter or UNC as typed" is the default - I think we have
established that that's not the case. I could not find a version of
these articles specifically for W11.

Anyway, I created the registry entries mentioned in those articles for
10.0 and 11.0 (I'm using 11), both as "Volume" and as "VolumePref" and
set their values to 1 - neither made any change to the previously
described behaviour.

Beth Melton

unread,
Oct 24, 2004, 10:25:32 AM10/24/04
to
Hi Michael,

Can you provide us with some exact repro steps?

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP


"mb (SPAMSTOPPER)" <@mbednarek.com> wrote in message
news:htmmn0tsqhf3b0b0k...@4ax.com...

Michael Bednarek

unread,
Oct 24, 2004, 9:46:33 PM10/24/04
to
On Sun, 24 Oct 2004 09:25:32 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Can you provide us with some exact repro steps?

I can't quite see how you cannot reproduce the behaviour I described:
here, each and every hyperlink to a file on a network file server will
refer to its UNC translation, never to a drive letter. Does that not
happen in your enviroment?

From my original post in this thread:

When I insert a Hyperlink into a document pointing to a file on our
network server, say, F:\SomeDir\Some.doc, WinWord inserts a hyperlink of
the form \\server\share\SomeDir\Some.doc

In detail:
Open Word (10 or 12, I don't have 11),
Menu: Insert/Hyperlink...
In "Address:" box type or navigate to any file on a mapped network
drive; actually, F:\ will do.
The resulting hyperlink will refer to the UNC location of that mapped
drive letter, and the ballon text will comfirm this.

This is in contradiction to the documentation which says: "the drive
letter or UNC as typed" will be used by default.

Beth Melton

unread,
Oct 25, 2004, 3:20:57 PM10/25/04
to
Hi Michael,

I realize the steps are fairly simple but based on my past experience
I've found it never hurts to request repro steps. :-)

I'm in the process of writing up this issue and I'll post back once I
get a little more information.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message

news:4glon0lmj9dhr1j0o...@4ax.com...

Michael Bednarek

unread,
Oct 25, 2004, 10:15:40 PM10/25/04
to
On Mon, 25 Oct 2004 14:20:57 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Hi Michael,


>
>I realize the steps are fairly simple but based on my past experience
>I've found it never hurts to request repro steps. :-)
>
>I'm in the process of writing up this issue and I'll post back once I
>get a little more information.

Sorry if my last message sounded a bit exasperated - that was not the
intent. I really appreciate your efforts very much.

FYI: our current workaround is to copy the name of a file from Explorer
(where we have a context menu item: Copy Name) as text into a document -
that's the equivalent of Insert Hyperlink, only this method will create
simply text containing the full filename. To use that file (the
equivalent of clicking a hyperlink), the reverse happens: the full
filename is copied from the document into Word's, Excel's, or whatever
application's Open File dialogue.

Beth Melton

unread,
Oct 26, 2004, 11:22:48 AM10/26/04
to
No worries, Michael. I understand how frustrating a situation like
this can be. It seems like it should be soooo simple! (Which is why
I've been avoiding this issue lol)

I'll let you know as soon as I find anything.

Also since I'm unable to try these things myself right now could you
try these scenarios and answer a few additional questions?

- What format are you using for new email messages? Rich Text or HTML?
- Does the problem occur if you are using Plain Text?
- What happens if you type the path to the document instead of using
the Insert/Hyperlink dialog?
- What happens if you copy/paste the file path from the Explorer's
address bar?
- If you turn off the "Update links on save" option does the problem
occur in a regular Word document? (IOW when you aren't creating an
email)
- Along with the above scenario, does the problem occur if you are not
using Word as the email editor in a Word document?

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP


"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message

news:trbrn0dgmsm096u1f...@4ax.com...

Michael Bednarek

unread,
Oct 26, 2004, 9:17:16 PM10/26/04
to
On Tue, 26 Oct 2004 10:22:48 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>No worries, Michael. I understand how frustrating a situation like

>this can be. It seems like it should be soooo simple! (Which is why
>I've been avoiding this issue lol)
>
>I'll let you know as soon as I find anything.
>
>Also since I'm unable to try these things myself right now could you
>try these scenarios and answer a few additional questions?

In a Word document, just try to insert a hyperlink to a file on a
network drive using drive letter notation: F:\somedir\somefile.doc and
observe the ballon text for that hyperlink.

>- What format are you using for new email messages? Rich Text or HTML?

HTM, but the behaviour is the same for RTF.

>- Does the problem occur if you are using Plain Text?

No, because Plain Text has no concept of Hyperlinks.

>- What happens if you type the path to the document instead of using
>the Insert/Hyperlink dialog?

Paths/filenames typed into the document remain as typed - that's what we
currently do instead of creating Hyperlinks. The typed paths/filenames
are of course not clickable.

>- What happens if you copy/paste the file path from the Explorer's
>address bar?

Same a above: stays as typed but it's not clickable.

>- If you turn off the "Update links on save" option does the problem
>occur in a regular Word document? (IOW when you aren't creating an
>email)

Yes, the problem continues.

>- Along with the above scenario, does the problem occur if you are not
>using Word as the email editor in a Word document?

No, the native Outlook editor behaves correctly. The whole problem of
Word converting hyperlink addresses from drive letter format to UNC
format is independent of Word being used as the e-mail editor; Word will
do that when used stand-alone, too. In fact, Excel does the same thing.
However, using native Outlook (11) as HTML (or RTF) editor, this problem
does not occur.

Let me also point out my post from 24 Oct 2004 18:54:59 +1000 regarding


KB articles 322955 (for W9) and 323013 (for W11).

--

Beth Melton

unread,
Oct 27, 2004, 9:01:15 AM10/27/04
to
"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message
news:l1stn0hnoeqm7patf...@4ax.com...

> In a Word document, just try to insert a hyperlink to a file on a
> network drive using drive letter notation: F:\somedir\somefile.doc
> and
> observe the ballon text for that hyperlink.

Yes, I observed this as well. I also observed it not occurring when
the "Update links on save" option was not turned on. (At least I
thought I did, I need to do more testing)

>>- Does the problem occur if you are using Plain Text?
>
> No, because Plain Text has no concept of Hyperlinks.

Duh, that's right. I stopped using Word as my email editor long ago...

>>- What happens if you type the path to the document instead of using
>>the Insert/Hyperlink dialog?
>
> Paths/filenames typed into the document remain as typed - that's
> what we
> currently do instead of creating Hyperlinks. The typed
> paths/filenames
> are of course not clickable.

I was also thinking of the AutoFormat option here, but that only
applies to UNC paths.

>>- What happens if you copy/paste the file path from the Explorer's
>>address bar?

> Same a above: stays as typed but it's not clickable.

Same thought as above.

>>- Along with the above scenario, does the problem occur if you are
>>not
>>using Word as the email editor in a Word document?
>
> No, the native Outlook editor behaves correctly. The whole problem
> of
> Word converting hyperlink addresses from drive letter format to UNC
> format is independent of Word being used as the e-mail editor; Word
> will
> do that when used stand-alone, too. In fact, Excel does the same
> thing.
> However, using native Outlook (11) as HTML (or RTF) editor, this
> problem
> does not occur.

As I noted previously, I *thought* I had a mapped hyperlink when I
turned off the "Update links on save" option during my tests. I wanted
to see if you could produce the same results in a regular Word
document independent of using Word as the email editor.

> Let me also point out my post from 24 Oct 2004 18:54:59 +1000
> regarding
> KB articles 322955 (for W9) and 323013 (for W11).

I also saw the articles. 323013 btw, is for Word 10. Word 11 is Word
2003.

Thanks for verifying. Unfortunately, aside from the last scenario, the
answers were as I expected. :-(

I keep you updated.

Beth Melton

unread,
Oct 28, 2004, 2:28:45 PM10/28/04
to
Something else to try. I've received some feedback on my request
regarding UNC hyperlinks.

There was an update to force Word to use UNC in Word 2002:
http://support.microsoft.com/?kbid=833034

It was probably incorporated into Word 2003. Try reversing the steps
of the article. Check for the reg key and you have it delete it. If
not then try creating the key it and setting the value to 0 instead of
1

Michael Bednarek

unread,
Oct 28, 2004, 8:52:46 PM10/28/04
to
On Thu, 28 Oct 2004 13:28:45 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Something else to try. I've received some feedback on my request

>regarding UNC hyperlinks.
>
>There was an update to force Word to use UNC in Word 2002:
>http://support.microsoft.com/?kbid=833034
>
>It was probably incorporated into Word 2003. Try reversing the steps
>of the article. Check for the reg key and you have it delete it. If
>not then try creating the key it and setting the value to 0 instead of
>1

Thank you very much for your continuing efforts.

I didn't have that registry entry, so I created it as a DWORD value
WordRTFOutPathPref=0 at
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options, but it
did not change Word's behaviour regarding drive letter/UNC paths.

Rob Rainsbury

unread,
Oct 29, 2004, 6:58:45 AM10/29/04
to
Thanks for pointing me this way too Beth, although my issue was
slightly different, removing the option in web options for formatting
links on save resolved it.

Thanks again,

Rob

Beth Melton

unread,
Oct 29, 2004, 10:02:36 AM10/29/04
to
Hi Rob,

I'm glad this thread was able to finally help someone! Thanks for
letting us know. :-)

I've yet to find any documentation on the Web option and would like to
get some documentation on it. I found your previous thread on this
issue but if you could do me a favor, it would be great if you provide
any additional details for the problem you were encountering.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP


"Rob Rainsbury" <rob...@gmail.com> wrote in message
news:4bd8517.0410...@posting.google.com...

Beth Melton

unread,
Oct 29, 2004, 11:31:38 AM10/29/04
to
Further update on this issue. I was able to finally perform some
additional testing and here's what I found:

- Hyperlinks inserted in a regular Word document and attached to an
email do not convert to UNC.

Note the screen tip will reflect UNC but if you use Alt + F9 to
display the field codes the hyperlink will reflect the mapped drive.
(I wasn't losing my mind after all. <g>)

- Hyperlinks inserted in an email, when using Word as the email
editor, will display as a mapped link but the source reflects UNC.

I could only come up with one workaround at this point and it isn't
the best but it does replace typing the links:
- Once the hyperlinks are inserted select them and press Ctrl + Shift
+ F9 to convert them to text.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

"Michael Bednarek" <ROT13(z...@gtz.pbz.nh)> wrote in message

news:1g33o0tm7j8g1op47...@4ax.com...

Beth Melton

unread,
Oct 29, 2004, 12:51:47 PM10/29/04
to
Since this issue now appears to be related to Outlook, rather than
Word, I've come up with something else to try:

In Outlook go to Tools/Options/Mail Format and make the following
changes:
- Compose message in this format: Rich Text
- Click the Internet Format command and under Outlook Rich Text
options select "Send using Outlook Rich Text format"

Based on my tests, the recipient of the email receives mapped
hyperlinks. However when I send an email to myself I end up with a UNC
hyperlink.

I figure I'll wait to hear your results before I ponder the latter
aspect. ;-)

Michael Bednarek

unread,
Oct 30, 2004, 11:38:35 PM10/30/04
to
On Fri, 29 Oct 2004 11:51:47 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Since this issue now appears to be related to Outlook, rather than

>Word, I've come up with something else to try:

It's not - it's a Word (and Excel) issue. It is not possible to insert a
hyperlink in Word which points to a file on a network server and
preserve the drive letter notation - it will always be converted to a
UNC notation, regardless what field codes might reveal.

>In Outlook go to Tools/Options/Mail Format and make the following
>changes:
>- Compose message in this format: Rich Text
>- Click the Internet Format command and under Outlook Rich Text
>options select "Send using Outlook Rich Text format"

I'm afraid that is no alternative here - it's either HTML or Plain Text.
My personal preference would be to ban Word as Outlook editor, but a
significant group of users insist on it.

>Based on my tests, the recipient of the email receives mapped
>hyperlinks. However when I send an email to myself I end up with a UNC
>hyperlink.
>
>I figure I'll wait to hear your results before I ponder the latter
>aspect. ;-)

As I wrote in another reply in this thread a few minutes ago: I give up.
Thanks for your patience.

Michael Bednarek

unread,
Oct 31, 2004, 12:18:04 AM10/31/04
to
On Fri, 29 Oct 2004 10:31:38 -0500, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>Further update on this issue. I was able to finally perform some

>additional testing and here's what I found:
>
>- Hyperlinks inserted in a regular Word document and attached to an
>email do not convert to UNC.
>
>Note the screen tip will reflect UNC but if you use Alt + F9 to
>display the field codes the hyperlink will reflect the mapped drive.
>(I wasn't losing my mind after all. <g>)

True, the field code will show the mapped drive, but the action taken
when the link is clicked will still go to the UNC path. There must be
some magic involved here. I wrote some VBA code to explore the
hyperlinks' properties (see below), and it confirms the behaviour I
observe: in action, hyperlinks to drive letters on network resources
resolve to UNC paths.

>- Hyperlinks inserted in an email, when using Word as the email
>editor, will display as a mapped link but the source reflects UNC.

The most obvious give-away is to inspect the HTML source when using Word
as the Outlook editor and composing HTML messages: it clearly shows a
link to a UNC name.

>I could only come up with one workaround at this point and it isn't
>the best but it does replace typing the links:
>- Once the hyperlinks are inserted select them and press Ctrl + Shift
>+ F9 to convert them to text.

That is just a different way to my solution which is to copy the fully
qualified file name from a file's context menu in Explorer.

As you stated above, a hyperlink's code revealed with Alt+F9 shows the
drive letter; however, I found that clicking the link will go to the UNC
path. What was going on?

I conducted this experiment:
1) Create a hyperlink to a document on our network file server (F:).
2) Copy that file to my local disk, disconnect from the network, and
create a drive letter (also F:) to the directory of that file with
SUBST. For fun, I created the same directory structure under that drive
letter as I had on the file server.
3) Create a hyperlink to this document.

I now had two hyperlinks in my document, which looked exactly the same:
F:\Corporate\Finance & Accounting\CorpFinTree.xls
F:\Corporate\Finance & Accounting\CorpFinTree.xls
The first one to the network drive, the second to the SUBST'ed drive.
They were identical in appearance on screen and when field codes were
revealed with Alt+F9. However, the balloon texts were different, as was
their action: the first one wanted to go the network, the second to my
local disk. Where did that different behaviour come from?

VBA code showed why. The hyperlink properties Address and Name showed
the UNC path for the first link, but the drive letter path for the
second. So there is definitely more to hyperlinks than the field code
shows. Here's a summary of the properties for the first hyperlink:
Address: UNC
Name: UNC
Range: Drive-letter
TextToDisplay: Drive-letter
The properties for the second hyperlink are all Drive-letter.

The Word document which contains these two hyperlinks and VBA code to
show their properties is at <http://mbednarek.com/hypertest.zip> (6,297
bytes).

The ultimate proof is of course in the eating: clicking on a hyperlink
which appears with its drive letter but where that drive letter
originally referred to a network resource will always link to that
network location by its UNC path.

I now give up. Thank you, Beth, for your assistance. I am, however,
disappointed that no one else got interested in this issue, particularly
as your own resources for testing in a network environment seem limited.

Beth Melton

unread,
Oct 31, 2004, 11:42:55 AM10/31/04
to

"Michael Bednarek" <mb(SPAMSTOPPER)@mbednarek.com> wrote in message
news:pqp8o0da1ohktr7np...@4ax.com...

> I now give up. Thank you, Beth, for your assistance. I am, however,
> disappointed that no one else got interested in this issue,
> particularly
> as your own resources for testing in a network environment seem
> limited.
>

Ah, but others have taken an interest in this issue, perhaps not
publicly, but they have. :-)

If my suggestions in my last post didn't work for you, I had a feeling
they wouldn't anyway, then Microsoft does want to open a support case
on this issue. They may not find a solution but a support case will
increase the visibility of the problem and a fix could be created
and/or documented.

Please contact me by email and I'll provide you with additional
details. Remove "NoSpam4Me" to obtain a valid email address.

>>Note the screen tip will reflect UNC but if you use Alt + F9 to
>>display the field codes the hyperlink will reflect the mapped drive.
>>(I wasn't losing my mind after all. <g>)
>
> True, the field code will show the mapped drive, but the action
> taken
> when the link is clicked will still go to the UNC path. There must
> be
> some magic involved here. I wrote some VBA code to explore the
> hyperlinks' properties (see below), and it confirms the behaviour I
> observe: in action, hyperlinks to drive letters on network resources
> resolve to UNC paths.

This is what I noted in another reply. I found this to be the behavior
as well when Word is used as the email editor but in a regular Word
document, attached to an email, the link is a mapped drive.

My recent tests were with another individual in order to determine
what the recipient of the email would receive. What I found was on the
creator's end the link was UNC but on the recipient's end it was a
mapped drive. (Again, the only way I could get a mapped drive when
using Word as the email editor was to use Rich Text)

>>- Hyperlinks inserted in an email, when using Word as the email
>>editor, will display as a mapped link but the source reflects UNC.
>
> The most obvious give-away is to inspect the HTML source when using
> Word
> as the Outlook editor and composing HTML messages: it clearly shows
> a
> link to a UNC name.

Yes, thus my note, the source reflects UNC.

>>I could only come up with one workaround at this point and it isn't
>>the best but it does replace typing the links:
>>- Once the hyperlinks are inserted select them and press Ctrl +
>>Shift
>>+ F9 to convert them to text.
>
> That is just a different way to my solution which is to copy the
> fully
> qualified file name from a file's context menu in Explorer.

Yep. That's about the best I can do on this issue. :-(

I wasn't able to retrieve the file - is your site down?? I am
interested in taking a look at it. Now that I'm more involved in this
topic I plan to continue to pursue it. :-)

Michael Bednarek

unread,
Oct 31, 2004, 7:08:35 PM10/31/04
to
On Sun, 31 Oct 2004 10:42:55 -0600, "Beth Melton"
<bme...@NoSpam4Memvps.org> wrote in
microsoft.public.word.application.errors:

>


>"Michael Bednarek" <mb(SPAMSTOPPER)@mbednarek.com> wrote in message
>news:pqp8o0da1ohktr7np...@4ax.com...
>
>> I now give up. Thank you, Beth, for your assistance. I am, however,
>> disappointed that no one else got interested in this issue,
>> particularly
>> as your own resources for testing in a network environment seem
>> limited.
>>
>
>Ah, but others have taken an interest in this issue, perhaps not
>publicly, but they have. :-)
>
>If my suggestions in my last post didn't work for you, I had a feeling
>they wouldn't anyway, then Microsoft does want to open a support case
>on this issue. They may not find a solution but a support case will
>increase the visibility of the problem and a fix could be created
>and/or documented.
>
>Please contact me by email and I'll provide you with additional
>details. Remove "NoSpam4Me" to obtain a valid email address.

As I said: I give up. I can't spend any more time on this and have to
move on. I advised our users of Word's behaviour and how to work around
it.

[snip]

>> The Word document which contains these two hyperlinks and VBA code to
>> show their properties is at <http://mbednarek.com/hypertest.zip> (6,297
>> bytes).

[snip]


>I wasn't able to retrieve the file - is your site down??

[snip]

The site was and is certainly up - I could download the above file from
home and from work.

dbustell

unread,
Dec 11, 2004, 9:47:04 AM12/11/04
to
Look at the Word Help article "Set Hyperlink Base"

Go to 'File | Properties" and the 'Summary' tab. Fill in the 'Hyperlink
Base' field with the base location.

donald

"Michael Bednarek" wrote:

> WinWord V-9 (same in V-11 I believe):
>

> When I insert a Hyperlink into a document pointing to a file on our
> network server, say, F:\SomeDir\Some.doc, WinWord inserts a hyperlink of
> the form \\server\share\SomeDir\Some.doc
>

> Instead, I need it to be of the form file://F:\SomeDir\Some.doc; note
> that Outlook used as an HTML editor -and not WinWord- will allow that
> form. Some of our users insist of using WinWord as their Outlook editor,
> and the hyperlinks they create are useless to us - we need them to point
> to a mapped network drive, just exactly as we enter them, without any
> alteration by WinWord.
>
> Can this be done? If so, how?
>

Michael Bednarek

unread,
Dec 12, 2004, 6:44:07 AM12/12/04
to
On Sat, 11 Dec 2004 06:47:04 -0800, "dbustell"
<dbus...@discussions.microsoft.com> wrote in
microsoft.public.word.application.errors:

>Look at the Word Help article "Set Hyperlink Base"
>
>Go to 'File | Properties" and the 'Summary' tab. Fill in the 'Hyperlink
>Base' field with the base location.
>
>donald

That particular approach was discussed in this thread on 15-Oct-2004 and
was found to have no effect whatsoever, except for some cosmetic changes
in screen appearance.

Norbert

unread,
Jan 5, 2005, 7:05:09 AM1/5/05
to
Great tip, thanks a lot.
It helped me because I had the problem that absolute UNC-paths of hyperlinks
were changed to relative UNC-paths with forward slashes (but pointing to file
on our server e.g. ../../../../folder1/folder2/document.doc).

Of course it will help me for the future only.
Unfortunately the process of changing the relative path back to absolute is
not possible though very strange things happen:
In the tool tip I see this:
../../../../../folder1/folder2/folder3/folder4/folder5/dok.doc
Editing the hyperlink I see this:
../../../../../folder1/folder2/folder3/folder4/folder5/dok.doc
But Shift-F9 shows this:
{ HYPERLINK
"\\\\server\\\\folder1\\folder2\\folder3\\folder4\\folder5\\dok.doc" }
Editing this last string has no affect.

BTW: The relative path is not available and I get a MsgBox: "The address of
this site is not valid. Check the address and try again."
Nevertheless even if it was valid I need absolute paths.

Anybody an idea what's wrong here (Word 2002 10.4219.4219 SP-2)?

Thanks

Will Mansell

unread,
Jan 27, 2005, 2:57:11 PM1/27/05
to
Is there an update on this or further progress?

Michael Bednarek

unread,
Jan 28, 2005, 12:22:05 AM1/28/05
to
On Thu, 27 Jan 2005 11:57:11 -0800, Will Mansell
<WillM...@discussions.microsoft.com> wrote in
microsoft.public.word.application.errors:

>Is there an update on this or further progress?

There was a thread "Relative Hyperlink in Word 2003" started by Dorothy
Lo on Fri, 21 Jan 2005 00:37:03 -0800, MsgId:
<066D6B26-7DFE-46D5...@microsoft.com>.

She then wrote on Fri, 21 Jan 2005 18:05:03 -0800:
"Please ignore this message. I found a solution."

Despite my urging, she never posted it.

I believe that Microsoft has been made aware of the problem some time
ago.

redbird

unread,
Apr 29, 2005, 10:02:06 AM4/29/05
to
I had the same problem. I set my hyperlink base to file://c:\ which made the
network links work but messed up the internal document links. BTW, without
the hyperlink base set I was only able to network within the same directory
folder anywhere else freezed up the computer. Anyone have a suggestion on
how to get the internal links to work at the same time as the network links?
Redbird
0 new messages