Page 1 of 1

Is there a script or how can I copy a folder structure (incluiding subfolders) and paste in another path w/o the files?

Posted: 12 Aug 2018 18:58
by Razz
Okay, I have a folder structure with files within

In C:\

Folder1
... Archive1.txt
... Archive2.txt
... Archive3.txt
Folder2
Folder3

... Archive4.txt
... Folder4
...... Archive5.txt
...... Archive6.txt
Folder5
... Folder6

...... Archive7.txt
Folder7

Now, I want to copy the folder's names only without the files to be able to paste that same folder structure in another path, say I want to copy it to E:\
and have this

Folder1
Folder2
Folder3
... Folder4
Folder5
... Folder6
Folder7

Is it possible with any feature or with a script?
Thanks in advance!

EDIT: added the ... to mean a tab, because spaces wont let me get a space

Re: Is there a script or how can I copy a folder structure (incluiding subfolders) and paste in another path w/o the fil

Posted: 12 Aug 2018 19:09
by jupe
Yes, just copy the root folders then use this menu command to recreate them in another path:

Edit | Paste Special | Paste Folder Structure

Re: Is there a script or how can I copy a folder structure (incluiding subfolders) and paste in another path w/o the fil

Posted: 12 Aug 2018 19:43
by Razz
jupe wrote:Edit | Paste Special | Paste Folder Structure
this works perfectly! one more reason to love XYplorer haha Thanks!