mitbeaver has asked for the wisdom of the Perl Monks concerning the following question:
#!c:/Perl/bin/perl.exe print "Content-type: text/html\n\n"; print "Created Installer 2: "; my $value = system(1,'c:\program\ie\makeinstall 2'); #my $value = system(1,'c:\program\ie\makeinstall.bat 2'); print "value=$value";
UPDATE: I changed the permissions, however this is the output now: Created Installer 2: value=65280 and there was no installer creation (the point of the batch file)
UPADATE2: Also if I double click on the pl file, the script runs fine and builds the installer. I'm not sure what new permissions I can give to the folder that its running in, it has every single one open.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Executing windows batch files via System
by BrowserUk (Patriarch) on Apr 26, 2007 at 00:01 UTC | |
by glasswalk3r (Friar) on Apr 26, 2007 at 13:13 UTC | |
by BrowserUk (Patriarch) on Apr 26, 2007 at 13:20 UTC | |
|
Re: Executing windows batch files via System
by ikegami (Patriarch) on Apr 25, 2007 at 23:46 UTC | |
by mitbeaver (Initiate) on Apr 26, 2007 at 00:53 UTC | |
|
Re: Executing windows batch files via System
by c4onastick (Friar) on Apr 25, 2007 at 22:48 UTC | |
by ikegami (Patriarch) on Apr 25, 2007 at 23:39 UTC | |
by c4onastick (Friar) on Apr 26, 2007 at 01:53 UTC |