Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

add file link without the whole directory

Sep 13, 2007 12:17PM PDT

I'm currently writing on a huge document and would like to include links to other files.
Currently I am only able to include the whole directory to the file, which makes it very difficult for other readers when the file is not in the same location.

For example:
The Word File is in "C:\ProjectXY"
Current file: "C:\ProjectXY\LinkedFiles\linkedfile.pdf"
The reader has the whole ProjectXY File, but on CD and the CD-Rom letter is maybe F:\. Therfore the directory is actually: "F:\ProjectXY\LinkedFiles\linkedfile.pdf".

My question now is:
Is there a possibily to only add the subfolders. Meaning, that word knows where the current File is located and only the following link has to be provided:
"..\LinkedFiles\linkedfile.pdf"

Any answer is appreciate! Thank you very much!

Discussion is locked

- Collapse -
Re: relative addressing
Sep 13, 2007 5:30PM PDT

Works with me using the Insert Hyperlink feature of Word 2000. If I browse to the file, Word inserts the filename only, not the full path.

In fact, if I save the document to another location, Word automatically changes the content of the link to point to the original file with a relative address, not an absolute address. Where it is now, Word made it ..\temp\myfile.doc while it started as myfile.doc when both files where in the temp folder. A very smart program, Word 2000. Have a look at the properties of the hyperlink (right click) yourself. If you had done so yourself, you probably wouldn't even has asked the question, because the answer is there.

I didn't burn the resulting files to a CD, but I'm rather sure that if I made the folder structure on the CD the same as on my hard disk it would work.

Hope this helps.


Kees

- Collapse -
jup works
Sep 21, 2007 7:50PM PDT

I don't know it hasn't worked last time, but this time it worked as described.

I moved the whole thing on my thumbdrive and word changed the pathname. It seems it have to say Word is still smart. One more plus point.

I only ask myself why it hasn't worked the first time?
I guess it is still a program.

- Collapse -
(NT) Glad to see it's solved.
Sep 22, 2007 3:53AM PDT