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] easily change last modified date to current date

<< < (2/2)

fenixproductions:
2tomos

Does DO have a function to save selected files to list*? If yes, what is the format of such file?

I could try to write second version with multiple files handling. It shouldn't be hard :)

*) In TC you just select files and pass %L parameter (which is replaced by i.e. c:\tmp\list.txt file) to proper application.

Edited

If your files selection is stored in list file where each name is in separate line, similar to:
--- ---D:\code\AutoHotkey\Compiler\Ahk2Exe.exe
D:\code\AutoHotkey\Compiler\README.txt

Then AHK code for v.2. is:
--- ---if 0 < 1
{
MsgBox, You must specify list file name!
}
else
{
Loop
{
FileReadLine, line, %1%, %A_Index%

if ErrorLevel
break

FileSetTime, , %line%, M
}
}
Of course, you need to start second version with list name as parameter.

I did not check but it should also work with folders.

MilesAhead:
There used to be freeware utilities named "touch.exe" that did that one function. Command line would probably be the most efficient.  All the files on the command line get touched.  Then you can run it in batch files or just drag & drop a bunch of files on it.

Just searching "Touch" on softpedia.com comes up with a bunch

lanux128:
tomos: you can use FileMenu Tools to do what you want. i myself use 12Ghosts for this purpose but it's shareware.

Navigation

[0] Message Index

[*] Previous page

Go to full version