# How to link to a local folder or document?

In a sharepoint 2010 wiki page, how does one create a link to a "local" folder or document?

For example this works in internet explorer, word, excel, etc. but not in sharepoint: file://X:\Some\Folder\Foobar.xls. The only part linkified is file://. Furthermore when using the Insert Link ([ctrl-k]) dialog I'm told file:// is an invalid protocol.

UNC paths work, but the whole point of using drive letters (for us) is to turn \\server\share\big\long\path\to\resource into X:\resource. Something people are not going to give up willingly.

-

Ahh, found it. Links must use fore-slashes, file://X:/Some/Folder/Foobar.xls..

Annoying because one can't simply copy-n-paste from a Windows Explorer address bar, but at least it works.

-

Actually, the hyperlink field in SharePoint that asks for the web address prompts you with "http:\".

If you simply change "http" to "file" and then paste your copied file or folder location, SharePoint will do you the courtesy of converting all your backslashes to forward slashes for you.

It's not perfectly elegant, but at least you don't have to change all the backslashes yourself.

-
Actually the insert dialog prompts with nothing but a blank field (no prefix supplied), see i.imgur.com/o3xichg.png. Maybe it's a version thing, 'cause this isn't what I was seeing last year when I asked this question. On the other hand, now all I have to do is add file:// to the beginning, no slash conversion necessary. One small step forward in usability, with more needed (still can't copy paste without editing). Thanks for making me take another look. –  matt wilkie Jul 19 at 15:55