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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Razz
Posts: 2
Joined: 12 Aug 2018 18:44

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

Post 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
Last edited by Razz on 12 Aug 2018 19:11, edited 1 time in total.

jupe
Posts: 2790
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

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

Post 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

Razz
Posts: 2
Joined: 12 Aug 2018 18:44

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

Post by Razz »

jupe wrote:Edit | Paste Special | Paste Folder Structure
this works perfectly! one more reason to love XYplorer haha Thanks!

Post Reply