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

I'm SO disappointed!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform