Hi,

I have tried:

system("zip", "-r", "archive", "*");

But this tells me that the file "*" cannot be found.
I guess the shell thinks that I want to pass the quoted string "*" and not
only the * character to match all files.

I have succeeded with:

system("zip -r \"archive\" *");

But I have seen that it is recommended for security reasons to use system()
with multiple parameters...

Thank you.

Teddy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to