Copy filetree under windows

From snippet wiki
Jump to navigation Jump to search

Within a batch job you can copy whole trees via robocopy using a lot of parameters to get rid of the big logging amount:

robocopy ..\build\src src /MIR /njh /njs /ndl /nc /ns /nfl

Robocopy means "Robust File Copy" which leaves the question if the normal copy isn't robust? It replaces the xcopy command.