topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 2:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Modify Creation Timestamp for Files/Folders Alphabetically  (Read 9412 times)

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,746
    • View Profile
    • Read more about this member.
    • Donate to Member
Lately I've been getting into the homebrew scene with my Nintendo Wii and Nintendo DS.

A strange thing I've noticed in particular with Wii Homebrew is that files and folders are often sorted by the creation date instead of alphabetically. So if I happen to copy over TyrianWii before Asteroids, then Asteroids is on the bottom.

So what I would like is an application that will just modify the creation dates and timestamp of files and folders to get them to sort alphabetically.

Required features:

1) It should handle both directories and individual files.
2) Ideally it should recurse subdirectories. Or make it very easy to navigate a file system and sort all folders & files in a certain directory.

I've heard of something for linux or possibly mac called a Poke that would change the date, but I'm not sure what it is or how it works, and I'm on Windows XP, so it's not an option for me.
« Last Edit: May 28, 2008, 01:23 AM by Deozaan »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,746
    • View Profile
    • Read more about this member.
    • Donate to Member
JoTo has pointed out to me this thread Rename Files with Incremental Timestamp which seems to address the same problem. I didn't realize it was a problem with SD cards. I thought the file browser libraries for homebrew were just set up funny.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
You can do this with AHK (FileSetTime)

set up to loop through your files and/or folders with incremental changes...

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Here's a quick and dirty AHK tool. Only files, no folders. Hope it's still useful. Just drag the files on the GUI.

Spoiler
#SingleInstance force
#NoEnv
OnExit,GuiClose

Appname = Sort and TimeStamp files
GuiText = Drag files here...
Idle = Ready...
Work = Working....

Menu,Tray,NoStandard
Menu,Tray,Add,%appname% &close,GuiClose
Menu,Tray,Tip,%appname%

Gui +AlwaysOnTop +Owner
Gui, Font, S10 CDefault, Verdana
Gui, Add, Text, x16 y17 w250 h30, %GuiText%
Gui, Font, S08 CDefault, Verdana
Gui, Add, StatusBar,,%idle%
Gui, Show, x297 y258 h65 w250,%appname%
Return


GuiDropFiles:
SB_SetText(work)

Loop, parse, A_GuiControlEvent, `n
{
If TheList=
TheList = %A_LoopField%
else
TheList = %TheList%`n%A_LoopField%
}

sort, TheList
zeit := a_now

Loop, parse, TheList,`n
{
FileSetTime,%zeit%,%A_LoopField%,M
FileSetTime,%zeit%,%A_LoopField%,C
FileSetTime,%zeit%,%A_LoopField%,A
zeit := zeit +1
}

SB_SetText(idle)
return

GuiClose:
Gui,Destroy
ExitApp