Copy folder tree to any first level directory folder.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
sbrathovd
Posts: 1
Joined: 02 Feb 2021 09:13

Copy folder tree to any first level directory folder.

#1 Post by sbrathovd » 02 Feb 2021 09:21

I am no where near a navis at programming or dos but i understand the very basics and was looking for a little help.
Is there a way to copy a folder tree for example

Code: Select all

Tools 
    A.
       1.
       2.
    B.
       1.
       2.
Into another directory of folders (my projects) for example
I want to put tools in 1, 2, 3, 4, 5 etc. those name are never the same and i dont want to overwrite if its already in there

Code: Select all

Folder of Projects
      1.
      2.
      3.
      4.
      5.
Any thoughts?
Last edited by aGerman on 02 Feb 2021 11:02, edited 1 time in total.
Reason: made indentations visible using code tags

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

Re: Copy folder tree to any first level directory folder.

#2 Post by penpen » 07 Feb 2021 13:11

The command "xcopy" might help you; see its help for more.

Post Reply