Advertisement

10.06.2008 at 11:10PM PDT, ID: 23792777 | Points: 500
[x]
Attachment Details

How to kill windows processes through web interface

Asked by nopopo in Perl Programming Language, Windows XP Operating System, Windows Batch Scripting

Tags: , ,

I'm running a html page with a button that says KILL PROCESSES, and want the server that it's running on (Windows XP with Apache) to end a scheduled task or any batch script that is running that matches the title name.

I was able to come up, in XP, a kill.bat that works well, but when I call this kill.bat with Perl "system" command, it does not kill, even though it's the same bat I'm calling.

The button basically links up to a cgi script that calls kill.bat through system "kill.bat"

Start Free Trial
[+][-]10.07.2008 at 06:38AM PDT, ID: 22659247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:10AM PDT, ID: 22660124

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:14AM PDT, ID: 22660167

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:19AM PDT, ID: 22660209

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:39AM PDT, ID: 22660447

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 09:34AM PDT, ID: 22661078

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 09:58AM PDT, ID: 22661303

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628