Reading in File dates and times

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hi
i have approx 2000 jpg files in a single folder, from which i need to read
in the file name, and the date and time it was created.

is this possible please and where do I start looking :)

Thanks
A
 
Thank you Karl - that worked a treat

A

KARL DEWEY said:
You can create a text file to import.

Click on windows START - Run and type in CMD. This brings up a DOS
window.
It will default to C:\Documents and Settings\Your User Name.
Use the command CD\ and press ENTER to get to the root directory if
you files are on the C:drive. If they are on another drive then type in
the
drive letter followed by a colon like this F: and then press ENTER.
Then CD and the folder name where the files are located. You will need to
tranverse one folder layer at a time.

Then use the command DIR to see the file listing. Then use the
command
DIR /B >MyFileList.TXT to create the text file containing all files in
that directory. The /B only list the filenames with extention. If you
want size and other information omit it. If you also have files in
subdirectories the you can get them all by including a switch for
subdirectories like this --
DIR *.jpg /S /B >MyFileList.TXT
When you finish close the DOS window. Import the text file.
 
Back
Top