0

I have a need on an intranet project to create hyperlinks which target files on a DFS location. Now there was a time when for example file://c:\directory\filname.txt would work fine but now I need to use locations like this:

\\companydomain.com\files\sharename\subfolder\filename.txt 

this will not work for me using the file:// link format. (amazingly the company internal web browser is chrome, and yes I take credit for pushing that one :-)

Can anyone suggest a solution to this?

Thanks

Richard

Richard
  • 21,728
  • 13
  • 62
  • 101

1 Answers1

1

It looks like Chrome is preventing the internal link for security reasons.

http://code.google.com/p/chromium/issues/detail?id=16992

Comment #12 has the fix. Use all forward slashes.

Our canonical representation of a UNC path is:
"file://server/share/foo/bar"

Jason Gennaro
  • 34,535
  • 8
  • 65
  • 86