Running batch file via Perl in Windows IIS 6.0

IN PROGRESS
Bids
1
Avg Bid (USD)
$34
Project Budget (USD)
$30 - $50

Project Description:
I need help running a .bat file on my Windows IIS 6.0 server from a perl file through the server. The batch file creates a windows installer. The code is painfully simple and I think it may be a permissions problem, or maybe it needs to be done a different way. I don't mind it being done in PHP either, but you'll have to install php yourself on the server :)
#!c:/Perl/bin/[url removed, login to view]
use CGI:
my $query = new CGI;
$toolid = $query->param('toolid');
if(!$toolid){
$toolid=2;
}
print "Content-type: text/html\n\n";
print "Created Installer: ";
my $v = system('cmd [url removed, login to view] $toolid');
print $v;


For some reason the perl file will not create the installer I want it to, however, if I double click the file via remote desktop, the perl file runs fine and creates the required installer

There are some ancillary requirements listed below


## Deliverables

1) Complete program running on my Windows server


2) The script must execute the required batch file
3) The script must move the file to a certain path
4) The script must lock any other requests until the current batch file has been completed (only one batch file at a time)
5) The script file must return the url of the installer, something like this would be fine [url removed, login to view] number/[url removed, login to view]
6) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows IIS server 6.0 Most recent Perl build

Skills required:
Amazon Web Services, Anything Goes, Engineering, Microsoft, MySQL, Perl, PHP, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing, Windows Desktop
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire mantissasl
$ 34
in 2 days