Re: RUNNING XXCOPY.EXE
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Wed, 23 May 2007 09:01:07 -0700
Odds are good you have spaces in either the source or target paths. Spaces
terminate ¯o expansion.
But what the heck is xxcopy.exe? There's and xcopy.exe that ships with the
OS. Is that what you're using?
I'd run this as a .bat (or .cmd) file so you can display what's happening
and spot any issues:
@ECHO OFF
ECHO SOURCE %1
ECHO TARGET %2
XXCOPY %1 %2 /E/H/Y/YY
PAUSE
Or something like that.
Dan
TonySper wrote:
I am using the xxcopy.exe program to backup and restore files within
my program. All works well as long as I keep the complied program
running in any folder in the computer. My problem is that I also run
the program from a flash drive. When I run the program in the flash
drive in a different computer, the xxcopy.exe command does not work.
It does pop up the DOS window but just blinks it on and off. I am
using the run command like: RUN XXCOPY &FROM &TO /E/H/Y/YY
I have tried putting the COMMAND.COM in the flash drive directory but
that does not work. Anyone have a better way or any ideas of my
problem?? Oh yes the &from and &to are variables that I get from my
database. TonySper
.
- Follow-Ups:
- Re: RUNNING XXCOPY.EXE
- From: TonySper
- Re: RUNNING XXCOPY.EXE
- References:
- RUNNING XXCOPY.EXE
- From: TonySper
- RUNNING XXCOPY.EXE
- Prev by Date: Re: RUNNING XXCOPY.EXE
- Next by Date: Re: What fallback platform should VFP developers learn?
- Previous by thread: Re: RUNNING XXCOPY.EXE
- Next by thread: Re: RUNNING XXCOPY.EXE
- Index(es):
Relevant Pages
|
Loading