>After using xcopy32 ,writing my own xcopy in VFP and being spastic,
>I am interested is there any way (WINAPI call) or ready made stuff (wrapper function) to invoke windows explorer style (x)copy directory function with paths passed as parameters and getting flying papers progressbar, time left etc.
>
The trivial way, if all target systems have the Windows Shell v 4.72 or later installed (Win95 w/ Active Desktop from IE 4, NT 4 with Active Desktop, or anything more recent) is to use the Shell.Application object's methods to do this; use the Namespace method to return a Folder object for the target and call it's CopyHere method.
Failing that, you can use the SHFileOperation API call to do that; you'll need either Christof Lange's STRUCT class or my ClsHeap class to manage the data structure that needs to be passed to the API call. It's not terribly hard to implement, but there are two pointers to strings that will need to be saved outside of VFP. STRUCT and ClsHeap can manage this; if Christof has already defined the required data structure, it will already know how to build the structure from the data you must supply.
>Thank you in advance