Re: PerlApp and xcopy on WinXP SP2
by Chris Rogers other posts by this author
Jul 1 2005 7:47AM messages near this date
Re: PerlApp and xcopy on WinXP SP2
|
Re: PerlApp and xcopy on WinXP SP2
Thanks, but again, no luck. I do not have this problem if I use
robocopy but robocopy does not come with windows 2000 and I need it to
work on that as well.
On 7/1/05, Axel Mock <amock@[...].de> wrote:
> Hi,
>
> > 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.
> >
>
> my suggestion would be that you need to call xcopy with its path.
> The shell that gets opened does NOT need to have the same
> environment.
> So put a $ENV{'SYSTEMROOT'}."\\SYSTEM32\\" in front of xcopy...
>
> Hope it helps,
> Axel
> ----------------------------------------------------------------------
>
> S y s K o n n e c t G m b H
> A Marvell Company
> Siemensstr. 23
> D-76275 Ettlingen
> ----------------------------------------------------------------------
> Axel Mock
> Software Engineer
> phone: +49 7243 502 319
> fax: +49 7243 502 931
> email: amock@[...].de
> http://www.syskonnect.de
> -----------------------------------------------------------------------
>
>
>
_______________________________________________
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
|