Problem with DIR command

December 25, 2012 at 02:59:09
Specs: Windows 7
If I specify dir in DOS I get the date of creation. I want the original date. This is because I want to read the date via the screen. Is it possible to get another date via DIR?

See More: Problem with DIR command

Report •


#1
December 25, 2012 at 13:08:57
What's the difference between date of creation and original date?

Report •

#2
December 26, 2012 at 00:59:33
The terminology is confusing, and I don't think it is consistent,
but the command dir /? shows all the switches that can be used
with dir, and to my surprise I see that there are three switches
for changing the date output:

/tc Creation
/ta Last Access
/tw Last Written

Creation date appears to be what you want. "Last Written"
is the default, and using /tc I'm getting earlier dates.

-- Jeff, in Minneapolis


Report •

#3
December 26, 2012 at 05:40:30
With original date I mean the date I filled in for a jpg file (with properties/details) . When I use Windows 7 to list the directory with jpg files I see this date.
When using doscommand DIR I see another date. Neither using /TA, TW nor TC gives me the wanted result. Is there another way of getting this date in a file I can read.
Thanks for your reply.

Report •

Related Solutions

#4
December 26, 2012 at 05:42:53


With original date I mean the date I filled in for a jpg file (with properties/details) . When I use Windows 7 to list the directory with jpg files I see this date.
When using doscommand DIR I see another date. Neither using /TA, TW nor TC gives me the wanted result. Is there another way of getting this date in a file I can read.
Thanks for your reply.


Report •

#5
December 26, 2012 at 08:33:48
It sounds like you are talking about a field in the EXIF data which
is stored in the jpg file itself, not in the directory table. You would
need a program which reads the EXIF data that you want out of
each jpg file.

-- Jeff, in Minneapolis


Report •

#6
December 26, 2012 at 14:03:06
Jeff is correct. You need a utility that can read the EXIF data out of the JPG header.

Try this.

Tony


Report •


Ask Question