Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Pathname for IncludeText for server file -network disk

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GoFiler - 06 Sep 2007 22:14 GMT
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 ?
Jonathan West - 07 Sep 2007 13:09 GMT
> 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.
[quoted text clipped - 7 lines]
> 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

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.