Hi.
After i made my Flat-View-Cache button i encounter some other issue.
They were on Recreation of the File And Folder Structure from Collection.
I red the forum. They are a few post about this, but without solution.
So i tried by myself.
The Recreation can be easily done:
There is my Copy-Recreate button. It works with Collections, Find-Results, Flatview-listings and normal files and folders.
For the recreation is used the absolute location (the complete path).
It work with UNC-path and local mapped-paths.
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" separate="yes" textcol="none">
<label>Copy Recreate</label>
<tip>Copy selected to the destination by recreating the Folder Struture (works with collections)</tip>
<icon1>#copy</icon1>
<function type="batch">
<instruction>@nofilenamequoting </instruction>
<instruction>CreateFolder "{destpath}\{filepath|..|subdir}"</instruction>
<instruction>Copy FLATVIEWCOPY=single QUEUE=Recreate,quiet TO "{destpath}\{filepath|..|subdir}" UNATTENDED=yes</instruction>
</function>
</button>