Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

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

share|improve this answer

In PowerShell, something like:

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

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 
share|improve this answer

SKTimeStamp shell extension.

alt text

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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