G
Gunnar B
I am writing a macro that shall copy files from one source structure to a target structure. Before the files are copied I want to delete all files and folders in the target structure.
I use the Kill command to delete the files in a folder and then I use the RmDir command to delete the folder. The Kill command works OK but the RmDir command results in error 75 "Path/File access error". If I restart the macro the folder that is now empty is deleted OK but when trying to delete the next folder, error 75 occurs again.
Is there a timing problem here? Is it possible to get any type of confirmation that all files have been deleted Ok before trying to delete the folder?
I use the Kill command to delete the files in a folder and then I use the RmDir command to delete the folder. The Kill command works OK but the RmDir command results in error 75 "Path/File access error". If I restart the macro the folder that is now empty is deleted OK but when trying to delete the next folder, error 75 occurs again.
Is there a timing problem here? Is it possible to get any type of confirmation that all files have been deleted Ok before trying to delete the folder?