Copy folder structure

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
danmitch1
Posts: 8
Joined: 26 Oct 2017 13:45

Copy folder structure

#1 Post by danmitch1 » 02 Oct 2018 08:00

Hi guys, This most likely has been answered but a quick search did not find exactly what I need.

I have a folder structure that I need to paste into several different folders.
Image

I need the structure on the left "A" inside all the folders on the right "B".

Thanks in advance

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Copy folder structure

#2 Post by penpen » 05 Oct 2018 09:29

Using xcopy might help you:

Code: Select all

xcopy "A\*" "B" /T /E
penpen

Post Reply