First of all I started with the following:
<a href="\\SERVER-01\folder\file.xls" target="_blank">
however this opens the XLS file in a web browser.
So I then created a function called "RunFile"
so when I do the following it works fine:
<a href="#" onclick="RunFile('G:/Server/folder/file.xls');">Click me</a>
However my problem is that the "G" drive is mapped. So when I try:
<a href="#" onclick="RunFile('\\SERVER-01\folder\file.xls');">Click me</a>
it does not work. There is nothing wrong with the mapping so I am assuming I must have to use the "file://" prefix in some manner? I have tried various alternative to no avail.