IncludeText for Word 2003 needs a pathname to define where the file is.
It works well (with the double \\'s) if the file is on the originating PC.
Does not work if on Networked Disk.
Looking at DocProperties & Explorer, etc. only gives
"\\Server\documents\filename
But doesn't \Network or something need to be prefixed too ?
Or maybe 3 \\\'s or something ?
Or maybe C:\\Users\\owner\\Desktop\\Network\\Server\\documents\\filename...
ALL examples show as C: ... etc. So maybe C:\Network\Server... or
similar ?

Re: Pathname for IncludeText for server file -network disk by Jonathan

Jonathan
Fri Sep 07 07:09:44 CDT 2007


"GoFiler" <GoFiler@discussions.microsoft.com> wrote in message
news:40AB4E10-955F-4EFE-BCBB-1F7665C7592E@microsoft.com...
> IncludeText for Word 2003 needs a pathname to define where the file is.
> It works well (with the double \\'s) if the file is on the originating PC.
> Does not work if on Networked Disk.
> Looking at DocProperties & Explorer, etc. only gives
> "\\Server\documents\filename
> But doesn't \Network or something need to be prefixed too ?
> Or maybe 3 \\\'s or something ?
> Or maybe
> C:\\Users\\owner\\Desktop\\Network\\Server\\documents\\filename...
> ALL examples show as C: ... etc. So maybe C:\Network\Server... or
> similar ?

Word always works on the UNC path.

For a local disk, the UNC definition include the drive letter.

For a network location, whether or not the network volume has been mapped to
a drive letter, the UNC definition uses the path in the form
\\Servername\volumename\folder\document.doc

Word does not use the mapped drive letter, since that can change from PC to
PC.

In INCLUDETEXT fields (and all other fields where a pathname is included)
every \ in the path is doubled. This is necessary to distinguish between \
characters in pathnames and \ characters in field switches. Therefore, I
suggest you use \\\\Server\\documents\\filename


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup