Need help with batchfile

Advanced Renamer forum
#1 : 12/04-17 16:08
Claus Hamacher
Claus Hamacher
Posts: 1
Hi everybody,

I have created a batch-file "aren.bat" with the following contents:

"C:\Program Files (x86)\Advanced Renamer\arenc.exe" -e "C:\Program Files (x86)\Advanced Renamer\BatchMethods\d3denumber2.aren" -t files -m copy -d "c:\testbat"

I've put this batchfile into my SendTo folder.

Now I want to right-click on any file(s) and send them to aren.bat, hoping that a renamed copy would show up in folder C.\testbat.

Unfortunately, that is not happening. Something happenes, but the window closes too fast to read the messages. And c:\testbat stays empty.

What am I doing wrong?

Thanks for any help!

Claus


12/04-17 16:08 - edited 12/04-17 16:14
#2 : 02/05-17 09:03
DS
DS
Posts: 1
Try this:
arenc.exe -t files -f %1 -m copy

You need to tell the bat file which file to add. The marked files in Windows Explorer will be sent to the bat file using variable %1 or %%1.

%1 equals current file.


02/05-17 09:03