Have you configured a cgi-bin directory in IIS to recognize scripts with a
.pl or .cgi extension ?
> -----Original Message-----
> From: Ackim Chisha [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: System Command to call an external command.
>
>
> Hello people,
>
> I am trying to execute a pgp command in perl by calling the
> perl script
> through a web interface and
> I am getting the error:
>
> 'The name specified is not recognised as an internal or
> external command,
> operable program or batch file'.
>
> The simple script is as follows ( I am using Windows NT as
> the platform)
>
> print "HTTP/1.0 200 OK\n";
> print "Content-type: text/html\n\n";
>
> $command = 'pgp -kv';
> system($command);
>
> The problem is when I try to run the DOS command like
> $command='dir';
> system($command);
> It works.
>
> I have PGP installed and the same command works well when I
> run it on the DOS prompt but can't work in a CGI perl script
> when the other DOS commands can work fine. Somebody help me.
>
> My question is that , is it possible to use system to call
> pgp commands and call them using the web browser.
> If so, what could be the best way to tackle such a problem.
>
> A reply will be greatly appreciated.
>
> Regards
> Ackim
>
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]