Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hope to copy folder1 to folder1bak?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00173253
Message ID:
00173276
Vues:
34
Hi Brenda,

You can do this using Windows Scripting Host:

fso = CreateObject("Scripting.FileSystemObject")
FSO.CopyFolder("c:\folder1", "d:\folder1bak")

WSH is available for download for Windows 95, and is built into Windows 98 and NT. You'll find it along with more extensive information at Microsoft's Sripting Technologies site.

>Having trouble with the syntax. What to make a backup copy of folder1, something like folder1bak. If folder1bak exist, I will do nothing. Want to create folder1bak and then copy all the files from folder1 to folder1bak.
>
>Thanks - Brenda
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform