Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create folder and copy data into it
Message
 
À
28/09/2004 06:34:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00946159
Message ID:
00946601
Vues:
27
>Dear Sir,
>
> wshFSObj = CREATEOBJECT("Scripting.FileSystemObject")
>
>The above line returns "OBJECT"
>No error message appears
>
>Please help again

OK If this line return OBJECT there is an easier way to copy folder. But keep in mind that not on all computers SYSADMINS enabled scripting. Try this:
cFolder1 = "d:\cotton"
cFolder2 = "c:\cotton"
wshFSObj = CREATEOBJECT("Scripting.FileSystemObject")
wshFSObj.CopyFolder(cFolder1, cFolder, .t.)
wshFSObj = NULL
RELEASE wshFSObj
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform