Hyperlink turns to relative path

P

PAul Maskens

I have a hyperlink to file:///\\eukfs01\IT_Operations\2005-05
My document is saved in \\eukfs01\NetUsers\paul.maskens\interfaces\GB

When I try to ctrl+click it attempts to open ..\..\..\..\2005-05
Which doesn't work because my current drive at the time is probably E:

Not only that but other users will eventually access the document, and
it certainly won't be the same path for them !

How do I tell word to stop messing with my UNC path, quit trying to be
a smart-arse and make a relative path - just do what I tell it !
 
B

Beth Melton

S

SmartWombat

Looks as if nothing works in that topic to do what I want - but I can throw
another spanner in the works :)

If the document is opened after being copied to another path, then the
original UNC path is used and the link works.

So, if the hyperlink is to another location on EUKFS01 and the document is
STORED ON that server, then it tries to use the ../../../ path.
If the file is Stored on a different path, then the hyperlinkworks, because
it uses the full UNC path.

I want a NoMungePathsOnSameUNC setting :)
 
I

Ilka

I appear to have the same problem.
I use Word 2002 SP3 on XP.

If I save the Word file on Drive T and link to a graphic on Drive G, the
link gets lost. It does not get lost if the Word file is on G and the graphic
is on G. Drive T and G are on the same server. If I save the Word file on
another server and link to G, the link does not get lost either.

The link from Drive T to Drive G is relative. All others - the ones that
work - are absolute mapped drive links.

I have the DWORD set to 1 in the Registry as instructed in KB 323013.

Regards,

Ilka
 
B

Bob Buckland ?:-\)

Hi Ilka,

If you're on two different drives then the link would
not ordinarily be relative. When the drives differ then
generally Word's {IncludePicture} field (for linked pictures)
holds the full file path. When everything is on one drive
it will tend to turn the field content into a relative path.
If you replace {IncludePicture} with {Link} as the file type
(an older incarnation) the paths don't switch back and forth
from absolute to relative.


========
I appear to have the same problem.
I use Word 2002 SP3 on XP.

If I save the Word file on Drive T and link to a graphic on Drive G, the
link gets lost. It does not get lost if the Word file is on G and the graphic
is on G. Drive T and G are on the same server. If I save the Word file on
another server and link to G, the link does not get lost either.

The link from Drive T to Drive G is relative. All others - the ones that
work - are absolute mapped drive links.

I have the DWORD set to 1 in the Registry as instructed in KB 323013.

Regards,

Ilka >>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

For Everyday MS Office tips to "use right away" -
http://microsoft.com/events/series/administrativetipsandtricks.mspx
 
I

Ilka

Hi Bob,

When I link from Drive T to Drive G, I get this code:
INCLUDEPICTURE
"../DokuGrafik/EDDYTREND/display/config_menu.gif"\*MERGEFORMAT\d

When I link from Drive G to Drive G, I get this code:
INCLUDEPICTURE "EDDYTREND/display/config_menu.gif"\*MERGEFORMAT\d

After I save the Word files and reopen them, the Grafik linked from Drive T
to Drive G is no longer visible. I get the broken link box.

DokuGrafik is the name of Drive G. Drive T and G are on the same server.

I don't understand your comment that I can use the LINK field instead of the
INCLUDEPICTURE field. How do I do this automatically without having to fix
all the links manually?

Thanks for your help.

Ilka
 
B

Bob Buckland ?:-\)

Hi Ilka,

It sounds like one of the Drive letters is a
mapped folder rather than a physical drive.
Can you navigate to the non mapped location?

You can use the {LINK} field from Insert=>Field
in place of {IncludePicture} but you can't switch
it from Insert=>Picture.

If the graphics you have are formatted as 'inline with
text' layout then you can use Alt+F9 to expose the
field codes and Ctrl+H (replace to replace all on
IncludePicture with Link) within the existing fields.

If the pictures that are linked are other than inlinewithtext
then you'd need a macro to change the fields if you're
doing a lot of them.

The {LINK} fields can have their own issues, but the
pathing seems to 'stick'.

========
Hi Bob,

When I link from Drive T to Drive G, I get this code:
INCLUDEPICTURE
"../DokuGrafik/EDDYTREND/display/config_menu.gif"\*MERGEFORMAT\d

When I link from Drive G to Drive G, I get this code:
INCLUDEPICTURE "EDDYTREND/display/config_menu.gif"\*MERGEFORMAT\d

After I save the Word files and reopen them, the Grafik linked from Drive T
to Drive G is no longer visible. I get the broken link box.

DokuGrafik is the name of Drive G. Drive T and G are on the same server.

I don't understand your comment that I can use the LINK field instead of the
INCLUDEPICTURE field. How do I do this automatically without having to fix
all the links manually?

Thanks for your help.

Ilka >>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

For Everyday MS Office tips to "use right away" -
http://microsoft.com/events/series/administrativetipsandtricks.mspx
 
I

Ilka

Hi Bob,

You are right. It is a mapped drive. Yes, I can navigate to the non-mapped
location and then it works. However, another program I just purchased
(DocuGlobe), which is built on Word, is having this problem even to the
non-mapped location. If we store the Word files created through DocuGlobe on
T, it loses the links to the non-mapped location. It only works if we store
the Word files on another server, which we don't want to do.

Why is this happening? What is the purpose of the DWORD in the Registry
described in KB 323013?

I replaced INCLUDEPICTURE with LINK in the following path:
LINK "G:\\EDDYTREND\\display\\config_menu.fig" \*MERGEFORMAT \d

When I use ALT+F9 to switch back to the image view, I see nothing, not even
an empty box. What am I doing wrong?

Thanks for your continued support.

Ilka
 
B

Bob Buckland ?:-\)

Hi Ilka,

Should the file type in your link be .GIF rather than .FIG?

If you turn off the [x] Update Links on Save setting
in Tools=>Options=>General=>Web Options then the links
should stay 'static' but only on your PC

Unfortunately Word can 'see through' attempts such as using

Edit=>Replace to change
:\\
with
:%5c%5c

or prefixing the link with FILE:///
when it's 'updating' to make them relative.

The {Link} field has more content choices (see Insert=>Field)
and more overhead added to your document than the {IncludePicture}
field does (i.e. Link can link more than just pictures).

Unfortunately MS didn't implement the Hyperlink base path
in File=>Properties in the {IncludePicture} field that
works with the {Hyperlink} field.

==========
Hi Bob,

You are right. It is a mapped drive. Yes, I can navigate to the non-mapped
location and then it works. However, another program I just purchased
(DocuGlobe), which is built on Word, is having this problem even to the
non-mapped location. If we store the Word files created through DocuGlobe on
T, it loses the links to the non-mapped location. It only works if we store
the Word files on another server, which we don't want to do.

Why is this happening? What is the purpose of the DWORD in the Registry
described in KB 323013?

I replaced INCLUDEPICTURE with LINK in the following path:
LINK "G:\\EDDYTREND\\display\\config_menu.fig" \*MERGEFORMAT \d

When I use ALT+F9 to switch back to the image view, I see nothing, not even
an empty box. What am I doing wrong?

Thanks for your continued support.

Ilka >>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

For Everyday MS Office tips to "use right away" -
http://microsoft.com/events/series/administrativetipsandtricks.mspx
 
I

Ilka

Sorry, .FIG was a typo here in this post.

Thanks for your tip about changing the Web Options setting. That helped for
now.

Regards,

Ilka
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top