Re: PerlApp and xcopy on WinXP SP2
by Chris Rogers other posts by this author
Jun 30 2005 7:08PM messages near this date
Re: PerlApp and xcopy on WinXP SP2
|
Re: PerlApp and xcopy on WinXP SP2
Sorry about that. I should have copied the line instead of rewriting
it. I actually am doing the escaping:
xcopy \\\\server1\\masters\\pushpkgs\\ c:\\pushpkgs\\ /s /e /v /i /h /r /y";
The strange thing is that it won't work even if I put it in a batch
file and call the batch file from perl. I have tried changing the
options used with xcopy also. It seems that the xcopy call is just
ignored by the system when the parent process is a PerlApp compiled
script.
Again, sorry for the confusion.
On 6/30/05, Tim Johnson <tjohnson@[...].com> wrote:
>
> It's the oldest problem in the book for Windows Perl users. You're
> forgetting to escape your backslashes. Try this:
>
> system "xcopy c:\\somedir\\*.* c:\\otherdir /s /e /i /y";
>
>
>
>
> -----Original Message-----
> From: pdk-bounces@[...].com
> [mailto:pdk-bounces@[...].com] On Behalf Of Chris Rogers
> Sent: Thursday, June 30, 2005 6:18 PM
> To: pdk@[...].com
> Subject: PerlApp and xcopy on WinXP SP2
>
> I am using PerlApp 6.0.0 build 117102 on Windows XP SP2. I am having
> trouble using the windows xcopy.exe via system or backticks. A call
> such as:
> system "xcopy c:\somedir\*.* c:\otherdir /s /e /i /y";
>
>
> [Tim Johnson] <snip>
>
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Chris Rogers
Tim Johnson
David J Effa
Chris Rogers
Chris Rogers
Axel Mock
Chris Rogers
$Bill Luebkert
|