Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying a Folder
Message
From
11/10/2002 13:07:05
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00710410
Message ID:
00710427
Views:
11
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform