DonationCoder.com Software > Post New Requests Here
IDEA: Modify Creation Timestamp for Files/Folders Alphabetically
(1/1)
Deozaan:
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.
Deozaan:
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:
You can do this with AHK (FileSetTime)
set up to loop through your files and/or folders with incremental changes...
wr975:
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
Navigation
[0] Message Index
Go to full version