I have a script that adds a network printer when executed. It now
points to a vbs file on my desktop. But I need to put the vbs file on
the network for others to access it also. How do I tell the script to
point to a network file.
<Html>
<Head>
<Script>
function open(PStrApplication, PstrFilePath)
{
var WshShell = new ActiveXObject("WScript.Shell");
WshShell.run(PStrApplication + " \"" + PstrFilePath + "\"");
}
</Script>
</Head>
<Body>
Install Printer<p>
<a href="javascript:open('wscript.exe', 'printer.vbs')">Install
Printer</a>
</Body>
</Html>