Launch the program from PERL script under Windows server

Below you can see example of launching Resize Pictures for Command Line from PERL script under Windows server:

Example:

#!/usr/bin/perl

print "Content-Type: text/html\n\n";
$ExecString = 'C:\rpcmd\rpcmd.exe -s demo.set -i e:\pics\*.* -o e:\out'

exec $ExecString;

Back Back