need an alert based files older than 30 minutes

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Bowlardo
Posts: 15
Joined: 28 Jun 2012 07:28

need an alert based files older than 30 minutes

#1 Post by Bowlardo » 30 Jul 2013 06:27

1.Need to check the date/time of the oldest files in a folder
2. If any of the the files are older than 30 minutes
3.move the files to a error folder

Was looking at robocoy but that seems to be only able to move based on day
robocopy D:DOS\TEST\ D:DOS\SUCCESS\ *.* /MINAGE:1
I need this set to 30 minutes

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: need an alert based files older than 30 minutes

#2 Post by foxidrive » 30 Jul 2013 06:36

XXcopy from http://www.xxcopy.com has minute granularity.

Bowlardo
Posts: 15
Joined: 28 Jun 2012 07:28

Re: need an alert based files older than 30 minutes

#3 Post by Bowlardo » 30 Jul 2013 07:10

foxidrive wrote:XXcopy from http://www.xxcopy.com has minute granularity.

Thanks foxi. I will have a look

Post Reply