Partial Directory Tree Copy

aviwil

Senior member
Mar 23, 2000
285
0
76
I have Vista 32 Home Premium , and would like to do a copy of a directory tree , but only the top 1 or 2 levels .
Is there some easy way to do it ?
I've tried searching but without success .
Thanks .
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
command prompt

robocopy *.* C:\folder_destination /LEV:X

Replace X with number of levels
 

stlcardinals

Senior member
Sep 15, 2005
729
0
76
Take a look at Robocopy. It can do it with the following switch,

/LEV:n : Only copy the top n LEVels of the source tree.