View Light

HOWTO: Make a link to a local file or share

Similar to how you would put http:// in front of a link to a web address, you can also use file:/// to specify an actual file or location available to your local machine or local network. Note the triple-slash (///) after file rather than the double-slash normally used with "http://"

Say you have a file called Test.txt available on a share named Share1 on a server named Server1. You can specify a link to it as:


For a link to a file on your local machine you can also use drive letters, but note that passing this link to someone else will cause the link to point to something on their machine, not yours. Say you have a file in C:\Temp called Test.txt, the link would look like:

Rating: (You must be logged in to vote)
Comfortably Anonymous
4/8/2005 4:02:59 PM
0 Dislikes: 0
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.