Running batch file via Perl in Windows IIS 6.0

This project was awarded to mantissasl for $34 USD.

Get free quotes for a project like this
Project Budget
$30 - $50 USD
Total Bids
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');




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

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online