Forum Moderators: coopster & phranque

Message Too Old, No Replies

Running executables on server machine under WinXP

         

nsheth2001

12:23 am on Aug 9, 2003 (gmt 0)



I'm fairly new to web scripting, and have been having problems setting this up. I want to be able to launch a command line program (with arguments) remotely (through the browser). Currently, I'm running Windows XP, with IIS. I have a simple test perl program that calls:

system("test.bat")

In turn, test.bat calls TestProgram.exe. Now, when I run this perl script from the command prompt, things work fine, the program is executed. However, going through the browser, the TestProgram is not executed. (The script does run, I can see my various test printouts in the browser . . . however, the executable is not run.)

Any suggestions would be greatly appreciated. I've looked in the users group, and I see a "Launch IIS Process Account" and an "Internet Guest Account." I've tried adding these users to the Admin group - I assume when the script is run from the browser, it's run under one of these users. This didn't work either. (Security is not a major issue, this is running on a private network.)

Thanks in advance for any help!

sugarkane

9:10 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld nsheth2001

Sorry that you've not got an answer to this. Unfortunately I've hardly any Windows experience, so I can't offer any advice...

Can anyone help?