Hi
I want to create a macro which needs to access files path and dates.
I can't see any way to do it with the standard software, so I was wondering if there were any plugins that would directly or indirectly give me access to these properties.
Many Thanks in advance
extracting path/directory and date from files using keyboard
Moderators: Hacker, petermad, Stefan2, white
Re: extracting path/directory and date from files using keyb
Try Windows Help keyword "for"tonyology wrote:Hi
I want to create a macro which needs to access files path and dates.
I can't see any way to do it with the standard software, so I was wondering if there were any plugins that would directly or indirectly give me access to these properties.
Many Thanks in advance
for /f %I... %~pI gives the path
for /f %I... %~aI gives the Attributes
for /f %I... %~tI gives the date and time
e.g.
Code: Select all
for /f %I in ('dir /b') do echo %~pI %~aI %~tI >>Attrib.txt
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams