Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting a Folder
Message
De
06/04/2004 02:59:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892135
Message ID:
00892526
Vues:
19
>Can anyone say hat is wrong with this copy statement, I get an error parameter is incorect when I try it?
>oFSO = CREATEOBJECT( "Scripting.FileSystemObject" )
>ofso.CopyFile('c:\d\debby\*.*','c:\e\*.*')
>
>Thanks
>Steve

Steve,
Remove wildcards from destination parameter.

ofso.CopyFile('c:\d\debby\*.*','c:\e\')

PS:For Copy,Delete,Move folders/files I don't use WSH but winAPI.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform