Hi,

I believe this is a simple problem however I am not the best at javascript.

First of all I started with the following:
Code:
<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:
Code:
<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:
Code:
<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.

Regards,

jmcall10