How to? How to display picture creation date with dir command

Aug 16, 2016
31
2
I copied files from my iPhone to my hard drive. When I look at the Details view in Windows Explorer I can view a Modified time stamp and a Created time stamp like this:

Name Modified Created
IMG_0175.JPG 12/7/2019 8:33 PM 11/26/2011 11:02 AM


I cannot figure out how to display the Created time stamp in TCC. I have tried all of the dir/t:[a|c|w] options. They all give me what Explorer calls the Modified time stamp. The date I want is the one in the file's EXIF information. Is there a way to display that in TCC?

Thank you,
Jesse Heines
 
May 20, 2008
11,378
98
Syracuse, NY, USA
I get three different times from DIR. I don't think any of those is the one you're after but IIRC there was a forum thread about retrieving that info.

Code:
\\zz\c$\users\vefatica\documents> d /t:a dedekind.jpg
2020-01-19  03:35         166,613  dedekind.jpg

\\zz\c$\users\vefatica\documents> d /t:c dedekind.jpg
2015-05-29  13:13         166,613  dedekind.jpg

\\zz\c$\users\vefatica\documents> d /t:w dedekind.jpg
2015-05-29  13:41         166,613  dedekind.jpg

And there's something odd in the snippet above. I haven't gone anywhere near that file in years. The accessed time shown is a time when I was sound asleep. Explorer says "Today, January 19, 2020, 18 hours ago which also puts me out like a light.
 
May 20, 2008
11,378
98
Syracuse, NY, USA
The EXIF time stamp is in plain text. It's probably not always in the same location, but if you knew a bit about the format, you might be able to retrieve it with a batch file. Below, I found the offset with a hex editor.

Code:
\\zz\f$\004-pics> set hfile=%@fileopen[DSCN0002.JPG,r,t]

\\zz\f$\004-pics> echo %@fileseek[%hfile,272,0]
272

\\zz\f$\004-pics> echo %@fileread[%hfile,19]
2014:08:08 16:07:14
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
And there's something odd in the snippet above. I haven't gone anywhere near that file in years. The accessed time shown is a time when I was sound asleep. Explorer says "Today, January 19, 2020, 18 hours ago which also puts me out like a light.

Lots of things access your files without you being involved (for example, Windows Search indexing).
 
Aug 16, 2016
31
2
Thank you all for your replies.

@Charles Dye: I have downloaded and installed ImageStuff and it looks great! I didn't know anything about this previously. Thank you for your advice.
 
Similar threads
Thread starter Title Forum Replies Date
G v28 Display Issue Support 7
samintz WAD Display wrapping issue Support 5
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
B Fullwidth Unicode forms display incorrectly Support 5
D Need to set Take Command font size when switching to high DPI display Support 0
T FFind - can we display n number of lines after the find? Support 2
Joe Caverly PSHELL Blank Line Display Support 2
Alpengreis The TCMD Display problems and font size ... Support 2
vefatica Display of special characters in aliases. Support 25
R How to? Display text same as in CMD Support 14
T TCC display issue Support 1
MikeBaas How to? SELECT: exclude files / display prompt Support 2
D WAD TASKBAR options LogOff and ShutDown do not display a dialog Support 2
rfaquino How to? Display filename being copied on a single line Support 2
rps How to? Portable TCMD display problem Support 2
L Windows 8.1 version display Support 5
mfarah How to? Getting pdir to display relative paths. Support 2
D Folders pane display problem when starting Support 4
D Folders pane display problem after rename Support 0
C How to? Multi-Display Configuration Support 5
A WAD Limitations on display of unicode punctuation marks Support 11
N Incorrect display under TCMD 13 Support 1
Joe Caverly Display the VIEW window in a Take Command tab window Support 2
L FFIND no result display Support 10
B TCC v12 display double problem Support 2
B Bdebugger / IDE editor doesn't display called batch file Support 1
nikbackm UTF-8 display in TCMD Support 1
Peter Bratton IDE environment window display Support 0
G Display setting for Tabbed Toolbar Support 1
MickeyF Nice alias display Support 0
dcantor How to? Creation and modification dates on one line? Support 2
A Limitation regarding creation of shortcut keys for "copy" Support 0
A How to? Create a date range based upon creation date Support 2
K alias creation very slow Support 6
S Desktop hotkey creation using SHORTCUT command Support 4

Similar threads