Need program to change file date according to folder name

F

fathom

Subject pretty much says it all.

I have a bunch of digital photos, but they have incorrect file
dates and no EXIF or metadata. I do, however, have them all in
folders named for the date the pic was taken, like "2002_07_27".

Is there some program that can change the file date by reading
the folder name? I don't want to rename the pictures, just
change the date and time of the files.

Thanks for any help
 
F

fathom

That program can change the file dates, but only 1 folder at a
time. I have 874 separate folders and was looking for something
that would change them all at once.
 
R

Romain Petges

Is there some program that can change the file date by
reading the folder name? I don't want to rename the
pictures, just change the date and time of the files.

Maybe Attribute Changer 5.22 (www.petges.com) ?

It however cannot read the folder name and convert it to a datestamp that
should be applied to all files, but it allows you easily to batch-change
attributes, date and time.

Regards, Romain
 
F

fathom

Maybe Attribute Changer 5.22 (www.petges.com) ?

It however cannot read the folder name and convert it to a
datestamp that should be applied to all files, but it
allows you easily to batch-change attributes, date and
time.

Regards, Romain

Again, I'd have to use it on each of 874 separate folders. I'm
really trying to avoid that.
 
R

Romain Petges

Again, I'd have to use it on each of 874 separate folders. I'm
really trying to avoid that.

To be honest, I don't think there is such a tool that fits your needs. Maybe
you could use the WSH (Windows Scripting Host) to perform the operations.

Regards, Romain
 
R

REMbranded

To be honest, I don't think there is such a tool that fits your needs. Maybe
you could use the WSH (Windows Scripting Host) to perform the operations.

Or check out the alt.msdos.batch group if you're running a version of
Windows in which batch files can be used.

"Subject pretty much says it all.

I have a bunch of digital photos, but they have incorrect file
dates and no EXIF or metadata. I do, however, have them all in
folders named for the date the pic was taken, like "2002_07_27".

Is there some program that can change the file date by reading
the folder name? I don't want to rename the pictures, just
change the date and time of the files."

If you explain the exacts, your Windows version, your directory
structure and exactly what you want to do I'll bet one of the many
talented people there can write a batch file that will read the
directory name and set the file dates. These guys are really good and
enjoy taking a problem like this and explaining how to solve it using
batch step by step.
 
F

fathom

(e-mail address removed) wrote in
Or check out the alt.msdos.batch group if you're running a
version of Windows in which batch files can be used.

Thanks, guys. Good advice, all. I'm running Win2k, but have
removed Scripting Host, IE, OE, Media Player, and all the
other virulent programs Mr Gates insists we should have.

I will ask in the DOS batch group. Those guys are very
helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top