1.

Solve : moving files?

Answer»

I want to move TXT files depending on their date created, using a batch FILE. Any suggestions?Hi.
Hope this will help get ya started.

dir *.txt /b/o:d > ordered.lis

for /F "eol=' tokens=1*" %%i in (ordered.lis) do set NEWEST=%%i

move newest drive\dir\newest

This will get the newest VERSION of a file by date.


Mark....



Discussion

No Comment Found