I am new to scripting. I want to move some folders (including all files and subdirectories) to another directory based on last modified date of the folder. Something like MAXAGE but for folders and without checking subdirectories
This is what i get now, but it seems not to work.
ForFiles /P "y:\Backup\FullBU" /D +7 /C "CMD /C if @ISDIR==TRUE Move y:\Archive"
Can someone tell me to what I am missing?