Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to backup a directory and files
Message
 
À
30/12/2007 14:42:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01278503
Message ID:
01278575
Vues:
21
Take a look at Thread #793714 Message #793756
or
oShell    = CreateObject("Shell.Application")
objFolder = oShell.NameSpace("C:\backup\this-dir")
*** c:\backup\this-dir must exists!!!
objFolder.CopyHere("C:\this-dir\*.*")
check http://msdn2.microsoft.com/en-us/library/ms723207.aspx

>I would like to create a switch on a form
>that, when clicked, will perform the same
>task as the following DOS command:
>
> xcopy this-dir backup\this-dir /e /s
>
>Can someone shed a light? THank you.
>
>JW
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform