The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: ASP script to control batch file


  • To: <ukha_d@xxxxxxx>
  • Subject: FW: ASP script to control batch file
  • From: "Dean Barrett" <dean@xxxxxxx>
  • Date: Thu, 16 Oct 2003 10:03:07 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Thanks for that - doesnt work at present - any suggestions on what
permissions and access rights i should change. I've fiddled but no joy
yet :)
=20
=20


Dean.
=20

-----Original Message-----
From: mrf@xxxxxxx [mailto:mrf@xxxxxxx]=20
Sent: 16 October 2003 09:46
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] ASP script to control batch file


This should do the trick, you MUST make sure the permissions are set
correctly though, or it won't work.

<%@ Language=3DVBScript %>
<%
Set objShell =3D Server.CreateObject("WScript.Shell")
objShell.Run("C:\TEST.BAT")
Set objShell =3D Nothing
%>

The chances are, if it doesn't work, it's due to permission for IIS or
file
access.

Cheers
Marc
-----Original Message-----
From: Dean Barrett [mailto:dean@xxxxxxx]
Sent: 16 October 2003 08:52
To: ukha_d@xxxxxxx
Subject: [ukha_d] ASP script to control batch file


I'm trying to get a simple ASP script to launch a .bat file on the
same
server - but no joy.

I've googled and try a few bits i found there, but all to no avail.

Any ASP guru's here who can help - its a Win2000Pro machine running
IIS.



Thanks



Dean.



[Non-text portions of this message have been removed]



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.