Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File copy problem
Message
 
 
À
28/04/2005 08:34:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01009170
Message ID:
01009268
Vues:
18
>Dear Experts
>
> FSO = Createobject("Scripting.FileSystemObject")
> FSO.CopyFile((Sys(5)+Alltrim(Sys(2003)))+'\utility.*', "c:\windows")
> FSO = .Null.
>
> When I run above codes, throug prg, it creats following error message
>
> OLE error code 0x800a0046 unknown COM status erro
>
>
> What is wrong? should I use another command to copy file.
>
> Please help

Are you sure that the directory c:\Windows exists? You may want to do some error trapping and analazying aError() content...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform