Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Need to identify and archive windows folders/subfolders where there has not been any activity in last 365 days. IE no new files or changes to files. Does not HAVE to be XXCOPY, but XXCOPY is corp. approved

share|improve this question
What version of Windows? Do you mean XCOPY? – Canadian Luke Oct 17 '12 at 17:02
I do mean XXCOPY. I am unsure what exact op sys corp. will purchase except it will be windows. – Don Oct 17 '12 at 17:30
We will need to know the operating system to provide a better answer for your situation. Do you know if the system will be Windows 7 or Windows 8? Does the current system have Windows Vista or XP? The reason I ask is because I know of a great command that would help and solve this problem – Canadian Luke Oct 17 '12 at 18:15
@Luke – Indrek Oct 17 '12 at 18:26
It most certainly will not be windows 8. Will likely be a windows server version or windows 7. I do have XP W7 and Server 2003 machines to experiment with. – Don Oct 17 '12 at 20:05

Robocopy (Robust File Copy) can probably help you with this. It's part of the Windows Server Resource Kit for Windows 2003 and earlier, and Vista/Server 2008+ include it by default.

Use the MINLAD switch:

/MINLAD:n :: MINimum Last Access Date - exclude files used since n.

So something like robocopy c:\source\*.* d:\target\*.* /MINLAD:365 will copy all files from the Source folder to the Target folder, excluding anything accessed in the last 365 days.

More info: Robocopy and a Few Examples, and more info is also available if you type Robocopy /? at a Windows command prompt.

Alternative/additional "robust" file copying programs you could also try are covered in this SU question: Intelligent file copy/move software?

share|improve this answer
We already use XXCOPY to do what you suggest, but I need to archive the entire folder/subfolder structure or leave it entirely alone based on whether any files have been added or changed in last year. – Don Oct 18 '12 at 13:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.