in reply to excuting the tar command

Do you call the command in the script using back-ticks or system? Furthermore, have you tried to escape the \? It might be that you need to do that because the \ might just escape the space, perl converts it into a plain space and hands that over to the shell. So make sure that the \ is handed to the shell, by either using single quotes in the system call or escaping the \ (so using Program\\ Files). Maybe you might want to use the Archive::Tar module instead to do it directly from perl.
--
use signature; signature(" So long\nAlfie");

Replies are listed 'Best First'.
Re: Re: excuting the tar command
by Anonymous Monk on Apr 25, 2001 at 18:22 UTC
    Thanks for the help. I will try your suggestion and check into the Archive::Tar module. David
Re: Re: excuting the tar command
by Anonymous Monk on Apr 25, 2001 at 18:32 UTC
    I was kinda quick on the reply and did not answer your questions. I use the back-ticks and I did not escape the \. I will try your suggestions and let you know the results. Thanks again, David