Automation of moving files
I have a windows 2003 server. I am wanting to move files based on modification date to another drive. I want to automate this process and be able to schedule it to run once a month.
January 3rd, 2011 9:12am

Hi, Have you looked at robocopy? You can move, copy, etc with this command even with behold of security rights This option will help you: /minage:<N> Specifies the minimum file age (exclude files newer than N days or date). Complete syntax: http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspxRegards Ronny
Free Windows Admin Tool Kit Click here and download it now
January 3rd, 2011 9:36am

You can modify this script to move instead of delete. http://gallery.technet.microsoft.com/scriptcenter/en-us/97e05e53-e08b-4f3b-92c9-c033b21e7aa8 (example MoveFile) http://gallery.technet.microsoft.com/scriptcenter/en-us/be89da7d-b05f-4215-8836-d4ca6868fbba Once you have the script you can schedule it to run via Task Scheduler. Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
January 3rd, 2011 9:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics