Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying a Folder
Message
De
11/10/2002 13:07:05
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
11/10/2002 13:05:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00710410
Message ID:
00710427
Vues:
12
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform