Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use SHFileOperation function in VFP6
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00639817
Message ID:
00710582
Views:
22
>UPDATE. Disregard. Firt of all, I was using incorrect path, secondly, I should just specify destination dir without file mask...
>
>Hi Cetin,
>
>I'm trying this command ?CopyFiles("c:\redp\dataentry\Data\Upload\c*.zip","c:\redp\dataentry\Data\Archive\c*.zip") (where CopyFiles is a wrapper to ShFileOperation - from Ed's FAQ) and it's failing with Cannot copy file - File system error (1026). So, are you advocating against this function? Should I check other alternatives?
>
>I have Windows 98. Seems to be failing to my colleague as well.
>
Nadya,

It should work provided you're not using Unicode on the computer. The function is supported under versions of Shell32.dll 4.0 and greater.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform