Saved Bookmarks
| 1. |
Solve : Find last written date without dir.? |
|
Answer» I’m looking for a WAY to find the last written date for a file. Much like dir /TW but I need it for INDIVIDUAL files, not a whole drive.Look at the syntax (the switches and such), for the dir command. You can search for specific files, even within folders. OH man, sorry for wasting your time. I've been using dir for so long with directories I totally overlooked the files PART. Quote from: supertoyz on March 22, 2010, 01:04:56 PM I’m looking for a way to find the last written date for a file. Much like dir /TW but I need it for individual files, not a whole drive. C:\>type dateonefile.bat Code: [Select]echo off dir /TCAW abc.txt echo creation dir /TC abc.txt echo access dir /TA abc.txt echo written dir /TW abc.txt Output: 11/10/2009 03:24 PM 36 abc.txt Creation: 12/16/2009 01:42 PM 36 abc.txt Access 03/17/2010 11:15 PM 36 abc.txt Written 11/10/2009 03:24 PM 36 abc.txt C:\> |
|