Hi im trying to create a page with links to many Cisco devices. I'd like to click on these links and make tera term pop up with the username and password prompt for the Cisco device (router). I have got hold of this script as shown below:
-------------------------------------------------------------------
<html><head><title></title>
<script language="javascript" type="text/javascript">
<!--
function openNotepad()
{var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "c:\\windows\\system32\\notepad.exe";
var commandParms = "";
oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1");}
//-->
</script>
</head><body>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascriptpenNotepad()">Open Notepad</a>
</body><html>
-----------------------------------------------------------
Ok the script above is for notepad but the concept is the same. The script runs perfect locally on my PC but when accessed through IIS i get a permission denied statement when it tries to run the oshell. All other html files in directory work and permission is allowed.
Has anyone had the same experience? Any help will be appreciated.
Thanks.
-------------------------------------------------------------------
<html><head><title></title>
<script language="javascript" type="text/javascript">
<!--
function openNotepad()
{var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "c:\\windows\\system32\\notepad.exe";
var commandParms = "";
oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1");}
//-->
</script>
</head><body>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascriptpenNotepad()">Open Notepad</a>
</body><html>
-----------------------------------------------------------
Ok the script above is for notepad but the concept is the same. The script runs perfect locally on my PC but when accessed through IIS i get a permission denied statement when it tries to run the oshell. All other html files in directory work and permission is allowed.
Has anyone had the same experience? Any help will be appreciated.
Thanks.