Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying a Folder
Message
From
11/10/2002 13:02:24
 
 
To
11/10/2002 12:48:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00710410
Message ID:
00710424
Views:
17
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform