How can I change (preferably in batches) creation, last-modified and last-access times of files?

link|improve this question

feedback

4 Answers

up vote 1 down vote accepted

FileDate Changer will do this.

You can simply drag and drop into the Filename box and apply changes in batches.

Tested up to Windows 7, it is free and only a couple of KB.

alt text

link|improve this answer
feedback

In PowerShell, something like:

$date = Get-Date "2010-01-31 10:11:12"
Get-ChildItem *.foo | Foreach-Item {
    $_.LastWriteTime = $date
    $_.LastAccessTime = $date
}
link|improve this answer
feedback

Take Command Console LE (TCC LE), a free souped-up replacement for the command prompt, has a touch command that can change the creation, last modification and last access times and dates for files. It can of course run batch files.

The parameters to use are /D (for date) and /T (for time):

/D

On an LFN drive, you can specify which of the date fields should be set by appending a, c, or w to the /D option:

a Last access date 
c Creation date  
w Last modification (write) date 

/T

On an LFN drive, you can specify which of the time fields should be set by appending a, c, or w to the /T option:

a Last access time (on VFAT volumes access time is always midnight). 
c Creation time  
w Last modification (write) time 
link|improve this answer
feedback

SKTimeStamp shell extension.

alt text

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.