ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
Re: PerlApp and xcopy on WinXP SP2
by Chris Rogers other posts by this author
Jul 1 2005 7:48AM messages near this date
Re: PerlApp and xcopy on WinXP SP2 | Re: PerlApp and xcopy on WinXP SP2
Thanks, but no luck.

On 6/30/05, David J Effa <david.effa@[...].com>  wrote:
>  
>  Try system "cmd.exe xcopy \\\\server1\\masters\\pushpkgs\> c:\\pushpkgs\\ /s /e /v /i /h /
r /y";
>  Regards, 
>  
>  David 
>    
>  "Some men see things as they are and ask why.
>      I dream things that never were and ask why not."
>  Why aren't we dreaming things that never were and asking "why not?"
>  
>  
>  
>  Chris Rogers <pcechris@[...].com> 
>  Sent by: pdk-bounces@[...].com 
>  
>  06/30/2005 09:02 PM 
>  Please respond to Chris Rogers 
>          
>          To:        Tim Johnson <tjohnson@[...].com> 
>          cc:        pdk@[...].com 
>          Subject:        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
>  
>  
> 

_______________________________________________
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved