I create in a folder subsequently some files with different filenames which I want to enumerate from one to nn according to the creation time.
When I open this folder with Windows Explorer 10, the files are sorted by filename. They are in the desired sequence, when I sort it according the creation date.
When calling ANT and select this folder, the files are also shown sorted by filename (and not by creation date). I surely can add a column which shows the date and then I can click on it to sort my files as desired.
But how can I do this, when I create a batch file (.arb) which I add to the windows explorer to execute it by a rmb klick? The Batch file adds the desired number to all files in the folder but according to the sorted filename and not the creation date.
Thank you for your help!
Renumbering files and sort sequence due to creation of files
Indeed that's a missing possibility.
Normally it should remember the last sorting option, so it should work as long as you don't change the sort order.
The only alternative if the sort order must be forced when calling Ant Renamer from batch would be to have a script or other external program/tool to go change the default sort order in Ant Renamer's XML config file before launching it.
Normally it should remember the last sorting option, so it should work as long as you don't change the sort order.
The only alternative if the sort order must be forced when calling Ant Renamer from batch would be to have a script or other external program/tool to go change the default sort order in Ant Renamer's XML config file before launching it.
There are several things I could add to the command line, maybe some day but there are other things with higher priority.
The XML config file location depends on many things, it could be:
- c:\ProgramData\ant renamer on recent installs on recent Windows
- somewhere under c:\users\all users\application data on old Windows (e.g. XP)
- c:\program files\ant renamer if it was manually installed using portable version on a system without UAC or if it is an old install on an old Windows
- c:\users\<name>\appdata\local\virtual store\program files\ant renamer for an old install on a system with UAC
"program files" being "program files (x86)" if it is a 64-bit system.
The XML config file location depends on many things, it could be:
- c:\ProgramData\ant renamer on recent installs on recent Windows
- somewhere under c:\users\all users\application data on old Windows (e.g. XP)
- c:\program files\ant renamer if it was manually installed using portable version on a system without UAC or if it is an old install on an old Windows
- c:\users\<name>\appdata\local\virtual store\program files\ant renamer for an old install on a system with UAC
"program files" being "program files (x86)" if it is a 64-bit system.