Copy including Parent 1 and 2

Hi Guys,

I need the code to copy albums from my music collection to my memory card on my mobile phone retaining the folder structure.

For example, I want to browse to Z:\A-Z\P\Pink Floyd, then select the [1972] Acid Moon folder and copy it to the memory card retaining the P and Pink Floyd folders. The target folder HUAWEI\memory card\Music will always be the right side lister, as shown below.

Regards

Blueroly

Try this

Copy CREATEFOLDER={destpath}{sourcepath|..|nopath}{sourcepath|nopath}
3 Likes

Thanks @lxp, works perfectly :+1: