LOGO
General Discussion Undecided where to post - do it here.

Prev Previous Post   Next Post Next
Old 03-12-2007, 06:33 PM   #1
Tapupah

Join Date
Oct 2005
Posts
474
Senior Member
Default How can you list files that were modified in the last 24 hours
Ok this may sound like a daft question.

But.... I want a text file containing all the files that were modified in the last 24 hours sorted as a single file on a single line

i.e.

----list.txt-----------
c:\myfile.txt
c:\myoutherfile.txt

this is how far i have got:

dir /A-D /S /B t: > list.txt

gives me a full list

and

find /mnt/drive -type f -mtime -1 > list.txt

this works for linux but i need a batch file.
Tapupah is offline




« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 10:25 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity