I use the following Perl script to run an exe file:
$cmd_add_new = "C:/Perl/eg/htpasswd -b logg " . "$userid " . "$password";
system($cmd_add_new);
#it works if I run it from MS-DOS command prompt but when I try to run the same script as a part of a larger script on apache server it just doesn't perform an execution (this time I am not using MS-DOS command prompt) .
Is it possible to run my script without using command prompt?
Thanks
$cmd_add_new = "C:/Perl/eg/htpasswd -b logg " . "$userid " . "$password";
system($cmd_add_new);
#it works if I run it from MS-DOS command prompt but when I try to run the same script as a part of a larger script on apache server it just doesn't perform an execution (this time I am not using MS-DOS command prompt) .
Is it possible to run my script without using command prompt?
Thanks