Running batch file via Perl in Windows IIS 6.0

In Progress

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');




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: Perl, PHP

See more: return path, php on iis, perl coder for hire, new windows server, windows installer, iis server, batch, batch program, batch file, installer build, iis php install, move iis script, return file, url exe, file permissions, script windows server install, lock file program, install php iis, text html perl, desktop lock, bin file, php exe desktop, perl script recent file, install exe via php, perl windows

About the Employer:
( 36 reviews ) Chicago, United States

Project ID: #2941174

Awarded to:


See private message.

$34 USD in 2 days
(122 Reviews)