ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: set folder modifed date/time to most recently modified file it contains

<< < (2/3) > >>

kwacky1:
I have some files here that contain NO kind of timestamp. This would be useful to repair these broken dates. Does someone also has found anything like this on his drives?
-Crush (January 27, 2009, 11:46 AM)
--- End quote ---

Crush, you might find AnteDator useful for that purpose.

f0dder:
Crush: no timestamp? That sounds pretty messed up and basically impossible :-s

kwacky1:
Crush: no timestamp? That sounds pretty messed up and basically impossible :-s
-f0dder (January 29, 2009, 08:12 AM)
--- End quote ---

f0dder, not impossible with the above mention product  ;)

lanux128:
maybe this tool can fix the problem - Ninotech Date Edit.

"Ninotech Date Edit is a shell extension for Windows that enables you to change the date and time (the timestamp) of your files. You can change the created, modified, and accessed date of a file by right-clicking it in the Windows Explorer and choosing Edit Date from the context menu. By selecting multiple files in the Windows Explorer you are allowed to change the date/time of many files in just one action.

On Windows NT4, Windows 2000, and Windows XP you are also enabled to change the time and date of your directories."

http://home.worldonline.dk/ninotech/
--- End quote ---

PS. the website is not working currently.

skrommel:
 :) Try MostRecent!

Select the start folder, and it will recurse the folder and set it's and all it's subfolders' modifed date/time to the most recently modified file or folder it contains.

Skrommel


--- ---;MostRecent.ahk
; Set folder modifed date/time to most recently modified file it contains.
; To run, save this script as MostRecent.ahk, and install AutoHotkey from www.autohotkey.com.
;Skrommel @ 2009

#NoEnv
#SingleInstance,Force

FileSelectFolder,folder,C:\,3,Select a folder to change the date/time of
TRAVERSE(folder)
Return


TRAVERSE(folder)
{
  mostrecent=0
  Loop,%folder%\*.*,1,0
  {
    IfInString,A_LoopFileAttrib,D
      childrecent:=TRAVERSE(A_LoopFileLongPath)
    If (childrecent>mostrecent)
      mostrecent:=childrecent
    If (A_LoopFileTimeModified>mostrecent)
      mostrecent:=A_LoopFileTimeModified
  }
  MsgBox,%mostrecent%`n%folder%
  FileSetTime,%mostrecent%,%folder%,M,2,0
  Return,%mostrecent%
}

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version