>>>Hi,
>>>
>>>I'm having trouble copying a directory from one drive to another. Anyone know the easiest way to do this? I am using VFP6. Thanks!
>>
>>You can use WSH, or you can just use XCOPY. Here's a cut-and-paste snippet from some of my code:
lcCmd = [RUN ] + ;
>> [XCOPY "] + ADDBS(THIS.BackupDirectory) + [*.*" "] + ;
>> lcDirectory + [" ] + ;
>> [/E /V /C /I /Y ]
>> &lcCmd
>
>HEATHEN! How can someone of your obvious wisditude fall back on XCOPY, which, BTW, has different switches on some operating systems...
Hm. That bites. I'll look into the switch differences.
>I'm
SO disappointed!
Hee, hee. Occasionally I just have to use the DOS box to know I'm still alive.