Linking and accessing Network drives through HREF in html file

JDTalbert

Bit poster
We have an HTML file created that on a Windows machine, you click on the link and it will open up a drive on the network.

Clicking on the same think in Windows on a VM. I get the following error message.

Cannot find 'file://usserver1\Team Schedule\'.
Make sure the path or internet address is correct.

This is the HTML code
<a HREF="file://///usserver1\Team Schedule\">Team Schedule</a>

Does anyone know how to make links like this work in a Windows VM in Parallels?

Thanks.
 
I found the solution. What I thought it should be and thought I tried but think I had the path incorrect.

<a HREF="\\usserver1\Team Schedule\">Team Schedule</a>

But inline with this question. When using this code

<a HREF="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VPN.lnk">VPN</a>

When I click on the link, it will not work as the link is putting a %20 to represent a space between start and menu
 
Back
Top