Why will this vbscript/shell not execute code as follows:
<html>
<!-- Creation date: 2/6/2003 -->
<head>
<body bgcolor=lightyellow><font size=6>
<p align=center>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FPA DEMO</title>
<MARQUEE WIDTH="160" HEIGHT="1" BEHAVIOR="slide" SCROLLDELAY="0" STYLE="background:#0099cc;">
<font color=#ff0099 size=6>Forest Products Demo
</MARQUEE>
<p align=center><font color=navy size=6>
<script language=VBScript>
sub execute
set objShell=CreateObject("Wscript.Shell")
objShell.SpecialFolders("Desktop") & "\aas2.LNK"
end sub
</script>
</head>
<body>
<button onclick=execute>
FPA DEMO
</button>
</body>
</html>
I get error on page and I do not see it.
Thanks
<html>
<!-- Creation date: 2/6/2003 -->
<head>
<body bgcolor=lightyellow><font size=6>
<p align=center>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FPA DEMO</title>
<MARQUEE WIDTH="160" HEIGHT="1" BEHAVIOR="slide" SCROLLDELAY="0" STYLE="background:#0099cc;">
<font color=#ff0099 size=6>Forest Products Demo
</MARQUEE>
<p align=center><font color=navy size=6>
<script language=VBScript>
sub execute
set objShell=CreateObject("Wscript.Shell")
objShell.SpecialFolders("Desktop") & "\aas2.LNK"
end sub
</script>
</head>
<body>
<button onclick=execute>
FPA DEMO
</button>
</body>
</html>
I get error on page and I do not see it.
Thanks