Auto-load files

If you need help on how to use the program
Post Reply
Sveiki

Auto-load files

Post by Sveiki »

Is it possible to add an entry to the xml in the arb file to include a default list of files to load up?

Better yet, is it possible at all to pass any arguments to the exe call to have it auto run an arb file on a defined list of files?
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

For the moment, it is not possible.
All what can be done is either pass a .arb file to the exe to load it, or pass a folder name to add its contents.
The command-line possibilities are a little too weak.
I could improve that easily in version 2.08 (command-line parameters to load & run a .arb to a list of files or folders passed in command-line too).
If I have time for that this week-end maybe I could do it.
Actually what I wait before releasing 2.08 is finishing writing the help file (I already wrote about 50%)
Guest

Post by Guest »

On a side note, I spent a good few hours last night looking for a piece of software for batch renaming, and without a doubt yours is by far the best and easiest to use.

For adding these function, I think it would be nice to:
-pass filenames, or directories, or filenames with wildcards as arguments for auto-loading a file list as well as an auto-load arb
-command-line parameter for autorunning the rename

And I don't know how good of an idea this is, or even if it's possible, but if you could have the program using a defined list of conditions and changes, produce an external batch or executable for that exact rename process, that would be kinda cool
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

in the future I'd like to add an option to run Ant Renamer as command-line tool.
i.e. if you add a special parameter, the window is not displayed and it renames files silently.
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Actually it was very easy to add basic command line parameters... I did it in 30 minutes :D

so here is a new version : ftp://ftp2.antp.be/antp/temp/AntRenamer208.zip

here are the new command-line possibilities :

-b FileName : loads the batch file specified in FileName parameter

-g : launches the rename process (same as clicking "Go" button) after adding files and loading batch

-x : quits the program after renaming

-a : change add mode. This is required. If not specified, the file parameters work in same style than old Ant Renamer versions. This parameter can be followed by 1, 2 or 3 letters :
f : add files found in path
F : add folders found in path
r : recursive (search in subfolders)

e.g.:
-aF c:\data\*.* will add all folders contained in data, but not files
-afr c:\data will add the file "data", or if data is a folder it will add all files contained in data folder and its subfolders.

possible use :
Renamer.exe -af c:\data\*.* c:\images\*.* c:\test.txt -afr c:\mp3\*.*
-> it will search in subfolders of "mp3" but not in subfolders of data or images
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You will maybe find bugs, like one that I found right now (I reuploaded the program to the server), so do not hesitate to give me any info :D
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Maybe I should use "/" instead of "-" for the switches... or it will cause problems if people want to add 2-character files beginning with a dash...
GAMEJESTER

WORKS GREAT

Post by GAMEJESTER »

Am now using ANT as part of a batch file / vbs process to move rename and distribute files to their correct directory.

Fully automated now.

Thanks
Post Reply