[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Easiest way to execute a .cmd via IIS (remotely with a web
browser)
- Subject: RE: Easiest way to execute a .cmd via IIS (remotely
with a web browser)
- From: "Michael Avanessian" <mkanet@xxxxxxxxx>
- Date: Sat, 26 Nov 2005 18:35:37 -0800
Maybe somebody would be kind enough to tell me what I'm doing wrong. It
would really help me a lot. I got as far as I could get with vbscript:
http://www.myurl.com/x-10/send/orbon.aspx
----------orbon.aspx-------------------------------------------
Set Shell = CreateObject ("WScript.Shell")
command_line = "C:\Windows\Regedit.exe /s D:\DRIVER~1\Orb.reg"
Shell.run ""&command_line&"", 1
---------------------------------------------------------------
When I go to that URL, my browser just shows one long line without any
carriage returns the contents of that file.
Basically, all I want to do is execute D:\DRIVER~1\Orb.reg
-----Original Message-----
From: ukha_xpl@xxxxxxx [mailto:ukha_xpl@xxxxxxx] On Behalf
Of Michael Avanessian
Sent: Saturday, November 26, 2005 11:43 AM
To: ukha_xpl@xxxxxxx
Subject: [ukha_xpl] Easiest way to execute a .cmd via IIS (remotely with a
web browser)
I know this is off topic, but since this has to do with home automation, I
thought somebody here would know the answer to this.
What's the easiest possible way to execute a .cmd via IIS? I've been
struggling for a long time to figure out a simple solution. I have
installed Perl, but still can't figure out what to do there. I also have
ASP.NET
Maybe somebody wouldn't mind cutting and pasting an sample script for me?
Thanks so much in advance!
-Michael
[Non-text portions of this message have been removed]
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|