Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File copy problem
Message
 
 
To
28/04/2005 08:34:03
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009170
Message ID:
01009268
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform