Subscribe
to our newsletter

 




 

Set DOS Directory Dates

Buy Now Download

DirDate is a command line tool that can easily be automated to change folder and file last modification date, creation date or last access date. It can change dates using either a reference file (where you can 'lift' the date from an existing file), the current date/time or a series of YEAR, MONTH, DAY, HOUR, MIN, SEC and MSEC commands. It can process files in subfolders, and it has a preview mode so that you can see which files will be modified. You can set file date and times right down to the 0.1 microseconds (100 nanosecond increments), or even tweak existing times up and down.

I was working on a large project in which I had to change the date stamps on thousands of files in an automated fashion. I needed a robust solution that could change both the creation date and the modified date simultaneously, and do it on files with the read-only attribute set (as well as files that weren't read-only). I tried the evaluation version of DirDate and ran into some bumps along the way, but the support folks at DataMystic provided both fixes and new features immediately after I emailed them. Within five days of downloading the trial version, I purchased the licensed version and successfully completed the project of changing the date stamps on nearly 5,000 files. Thank you, DirDate! And thank you, DataMystic technical support team!

Joe Winograd, Home User

Simple example - set all file creation dates to Christmas day:

dirdate -CREATION date=12/25/2000 time=12:00:00 *.*

Simple example 2 - add 10 minutes to file modification dates:

dirdate -MODIFIED ADD 6000000000 *.*

Very complex example - use the following DOS .BAT command to alter the creation date of all .WAV files on drive X: to the creation date of a correspondingly-named .WMA reference file.

FOR %%A IN (x:\*.wav) DO dirdate -CREATION filec=x:\%%~nA.WMA x:\%%~nA.wav

DirDate runs under Windows 95, 98, ME, NT, 2000, XP, 2003 Server, Vista and Vista 64. DirDate also comes with a 16-bit version for DOS and Windows 3.1, which can be used to change folder, volume label and file entry dates, file sizes and attributes under Windows 3.1 and DOS using direct disk writes, and it is the only application that can change DOS folder dates using direct disk writes.

If you use RoboCopy, DirDate can be used to restore the original file created and last modified dates from RoboCopy's default date of '02.01.1980'.

 

Since DOS (and WinXX) always uses the current date when creating directories, an enormous mis-match occurs when installing "vintage" programs. DIRDATE allows one to quickly change the directory dates/times to match the files within those directories. It's Wonderful!

Jim van Zee, Seattle, WA

Screen shot

It is really a nice tool, i need to change the the last access date for around 1000 files. Manually it would take hours, but with this i could do it in just 2 min. Again it is fine utility for Windows Environment.

Features

  • Can easily be automated to run as part of an unattended process.
  • Supports recursion into subdirectories.
  • Can change the last modification date, creation date or last access date of BOTH files AND folders/directories
  • Supports wildcards.
  • Can use a reference file's time and date.
  • Can set to current date and time.
  • Can change any part of the date or time without affecting the other parts.
  • Has a preview mode where no changes are actually made.

Feedback

  • Basically IT'S GREAT! All my wishes come true! Amazing!
  • DIRDATE is sure a NEAT program! I am so happy to have it!
  • Boy - I can't begin to tell you how happy I am to have DirDate! I'm one of those unfortunate people who really like my file dates to *mean* something (ergo: another reason to dislike Unix, which can't even keep the same date when it copies a file). It has been a VERY long-standing irritation that when you install a program the directories all get the current date - even if the program itself is years old. Now I can fix that - and I've been happily doing so!
  • I had been looking for this kind of utility for months (I am a software reviewer--published in BYTE--and a multimedia consultant for Microsoft, among other places), and I am delighted you did this.
  • Was looking for a version of TOUCH that would allows modifying directories, and I came across your DIRDATE
  • DirDate is exactly what I've been looking for for ages!!
  • I have been looking for a way to change dos-directory-attributes for some time. Now I found your interesting program...
  • I downloaded your directory date program a few days ago. I'd been looking for such a program for a while. I'm using a dos/w3.1 operating system, with 4dos. I'm quite happy to relay the news it worked perfectly for me. For me, there's nothing to compare to a small, good program that does exactly what it should with out a ton of useless bells and whistles. The price was good too! Hope to see more of your work in the future.

Buy Now Download