fcek
asked on
Dos command to include access date of afile? (not the modified date)
Is there a DOS command?
E.g to view the last access date of a word .doc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah, sorry. Dragon-it beat me to it.
Erm, I feel a little cheated there :-(
Yes, you were Steve, I already asked for a moderator review...
~bp
~bp
What are you doing here!
I get around...
~bp
~bp
ASKER
Hi,
If I remember correct the
/ta didint work (no space between characters)
the
/T A (space between characters) did work.
Correct me if Im wrong.
Thanks
C:\Utils\hosts>dir /ta
Volume in drive C is W2K BOOT
Volume Serial Number is 30C9-7BBA
Directory of C:\Utils\hosts
22/07/2004 06:06 <DIR> .
22/07/2004 06:06 <DIR> ..
22/07/2004 06:06 403 hosts
22/07/2004 06:06 218 lmhosts
22/07/2004 06:06 279 Update Hosts files.bat
3 File(s) 900 bytes
2 Dir(s) 1,233,920,000 bytes free
C:\Utils\hosts>dir /t a
Volume in drive C is W2K BOOT
Volume Serial Number is 30C9-7BBA
Directory of C:\Utils\hosts
File Not Found
C:\Utils\hosts>
Volume in drive C is W2K BOOT
Volume Serial Number is 30C9-7BBA
Directory of C:\Utils\hosts
22/07/2004 06:06 <DIR> .
22/07/2004 06:06 <DIR> ..
22/07/2004 06:06 403 hosts
22/07/2004 06:06 218 lmhosts
22/07/2004 06:06 279 Update Hosts files.bat
3 File(s) 900 bytes
2 Dir(s) 1,233,920,000 bytes free
C:\Utils\hosts>dir /t a
Volume in drive C is W2K BOOT
Volume Serial Number is 30C9-7BBA
Directory of C:\Utils\hosts
File Not Found
C:\Utils\hosts>
ASKER
Oh you have an answer for everything dragon-it :-)
OK if you want to get a moderator to look at it a reaward points.
Apols
ASKER
thanks everyone!
Fcek
Fcek
glad we got there in the end :-)
DIR *.* /T A
which will list the contents of the directory sorted by last accessed date/time. The date/time will be listed for each file as well.