Page 1 of 1

Why no forum for Dirdate?

Posted: Mon Feb 28, 2011 3:41 am
by Chiurato
I see forums for all your products except dirdate. Looking for some help here. The following function does not work in the barch file
"If you have restored a set of files and they all have a creation date of 'now', then you
can easily set the creation date to the last modified date using:"

FOR /R %%A IN (*.*) DO dirdate -CREATION file="%%A" "%A"

I copied that exact line into notepad and saved it as a batch file (.bat) and nothing happens! Screen flashes Spews out
Getting reference date/time <modified> from file d:\blah blah blah..word.doc
Done

Not it aint! Nothing changes!
Wazzup?

Re: Why no forum for Dirdate?

Posted: Mon Feb 28, 2011 2:40 pm
by DataMystic Support
Hmm, please try:

Code: Select all

FOR /R %%A IN (*.*) DO dirdate -CREATION file="%A" "%A"