command line - how to copy only selected folders using robocopy? -


i have directory in there 36 subfolders. want copy last 18 folders using robocopy. how do that? there option can use?

this batch file should skip 18 folders , use robocopy each individual folder after that.

@echo off /f "skip=18 delims=" %%a in (' dir /a-d /b ') ( robocopy "%%a" "target folder" switches ) 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -