Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open External File form Web Page

Status
Not open for further replies.

ecugrad

MIS
Apr 17, 2001
191
US
I have an external Word file on a group drive that we want to link to from our web page. We need the file to open in Word because we have code in the Word document. How would I like this file from our page to open it. We are using Explorer 6.0 and Word 2003

Thanks for any and all help
 
Just include the full path to the file (e.g. \\servername\share\myfile.doc) in the href of an anchor tag.

[!]
-------------------------------------------------------

Mark,

Join me at the new IT Community of the 21st Century: [!][URL unfurl="true"]http://lessthandot.com[/!][/url]

[/!]
 
Bear in mind this will only be accessible to those people who can access that drive from their machine. If you want to open it up to other people you may have to use a server-side language to retrieve and stream the content to the client.

[!]
-------------------------------------------------------

Mark,

Join me at the new IT Community of the 21st Century: [!][URL unfurl="true"]http://lessthandot.com[/!][/url]

[/!]
 
You can try :
Code:
<a href="L:\WordDirectory\Document.doc" target="_blank">Document Description</a>

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Are you not able to copy the file to your http directories?

[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top