Tried again
this time with this script
<HTML>
<HEAD>
<TITLE>Script 4.14 - A form button example</TITLE>
<SCRIPT LANGUAGE="VBScript">
<!-- Start hiding VBScript statements
Function myButton_onClick()
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "schtasks /run /s serverip /tn...
Hi I'm trying to run a batch file that sits on my webserver (to run locally)
I get the following message Activex can't create object "WSHshell"
the code that I'm using is
<html>
<head>
<script language="VBScript">
Sub RunProgram
dim ws
Set Ws = CreateObject("Wscript.Shell")
Ws.Run...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.