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


Reply via email to