Hmm. It works for me.
The path must be the full, absolute path and not a relative path that is usual for URL's. Also a browser uses the file extension to determine what to do with the file. Does your file have an htm or html extension if it contains code? Does the URL case match?
On second thought the command to go to a home page is done via keyboard, not http command. In Firefox it is alt-Home.
There may be a way to do it via script, but I don't know how off the top.
Here is a Java snippet that will execute a local command. It is something to experiment with. It is set for Windows, but you can change the file statement to something for your OS to see it work.
I am not a coder so these scripts are painfully slow for me to create and test.
Code:
<head>
<style>
a:link {font:8pt/11pt verdana; color:red}
a:visited {font:8pt/11pt verdana; color:red}
</style>
<title>SAMPLE: How to Execute a Local Command on a Client using Java</title>
</head>
<body bgcolor="white">
<FONT face="verdana" size=4>
<font color="red">WARNING:</font>Sample text goes here</font>
<p><font style="COLOR: black; FONT: 8pt/11pt verdana"><b>More text goes here.</font><br>
<font size="2"><a href="download.html">CLICK HERE TO DOWNLOAD WHATEVER</a></font></b> </p><BR>
<table cellspacing="0" cellpadding="0" border="1">
<tr>
<td><script language="javascript">
if (navigator.appName=="Netscape" && navigator.appVersion.split(".")[0]==4)
{
document.write("");
}
else
{
document.write("<p align='left'><iframe src='file:///C:/' height=550 width=600
marginwidth=0 marginheight=0 scrolling=no frameborder=0 vspace=2></iframe></p>");
}
</script></td>
</tr>
</table>
</body>
</body></html>