Link to home
Start Free TrialLog in
Avatar of Peter Nordberg
Peter NordbergFlag for Sweden

asked on

Robocopy removes empty folder

Hi,

I have this script looking like this:
robocopy K:\K10S K:\Archive /MOVE /MINAGE:1

Open in new window


It is working fine except that when the root folder is empty the script removes the folder totally and I want to avoid that. How can I do it?

Thanks for help!

Peter
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial