6 posts in this topic
This peace of code does not work. I'm trying to copy all my usb files to desktop. What is wrong with it?
DirCopy("E:", @DesktopDir & "\Backups\MyWork", $FC_OVERWRITE) ;Tried also this, not working. DirCopy("E:\", @DesktopDir & "\Backups\MyWork\", $FC_OVERWRITE)
I'm trying to copy a folder from location A to location B. The DirCopy embedded function works great, but if the folder is large, my little program freeze, so that the user doesn't understand what's going on. I've found many solutions in this forum, but not for me.
So... All I want to do is delegate to someone the folder copy process... To Windows, obviously!
The API is a good solution I found... _WinAPI_CopyFileEx works like a charm, but it is for files only! I tried to insert a folder (with or without final /), but fails.
Is there an API functions for me? Please... help me!
Attached code from help (_WinAPI_CopyFileEx)