Pathname for IncludeText for server file -network disk

G

GoFiler

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 ?
 
J

Jonathan West

GoFiler said:
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
 
Top