Search found 2 matches

by boredmatt
15 Feb 2012 05:40
Forum: DOS Batch Forum
Topic: .bat to check how long files have been in directory, then ts
Replies: 7
Views: 8258

Re: .bat to check how long files have been in directory, the

Thank you for the responses guys! Last night, I managed to cobble together a couple of examples that I found around the web, and I now have this: @echo off cd "C:\exampledir" setlocal call :DateToMinutes %date:~-4% %date:~-10,2% %date:~-7,2% %time:~0,2% %time:~3,2% NowMins set flag=0 for /...
by boredmatt
14 Feb 2012 11:28
Forum: DOS Batch Forum
Topic: .bat to check how long files have been in directory, then ts
Replies: 7
Views: 8258

.bat to check how long files have been in directory, then ts

First of all, I'm very sorry for signing up and posting a question like this, I know how annoying that can be, but I'm quite desperate (if it helps, I picked this forum above all others ) Basically, I need to write a batch file to check how long files have been sitting in a directory for, and if it'...