How about an example dir structure and specific error message that you're getting? I tried a little test and didn't have a problem, so not sure what to tell you...
@steje
Create the following dir structure:
G:\Folder\Folder\Folder\Folder
and put a file in each folder with the same name e.g "clip.txt".
Go to "G:", select "Folder" and use the Button on it. You will get an "Folder is not empty" error message.
Thats the Problem of OpelOpus I think.
The other Problem is copying multiple files with the same name to one directory. For this I use the following to rename the files automatically:
@dirsonly
@nofilenamequoting
Copy MOVE FILE WHENEXISTS=rename "{filepath$}\*" HERE
delete
But your Problem isn't solved I think? "WHENEXISTS=rename" only renames Files with the same name but not Folders.
You get the "Folder is not empty" error message because you're trying to copy a Folder to a path where a Folder with the same name already exists.
This is not possible unless the Folders to copy are renamed to e.g. "Folder(1), Folder(2)...". "WHENEXISTS" doesn't do that and another existing Argument "RENAMEWHENSAME" doesn't seem to have any effect here.
I couldn't find a solution for that up to now.
Yes kundal you are right. Only the files were renamed and not folders. i thought problem was solved. And sometimes i dont even get warning. It just deletes the underlying subfolders with same name and the file inside the last subfolder down is then lost. I can do a control + z of course to retrieve that file.