Thanks for your post, esteban_55 !
I did not think about the fact that RAR could receive a password on the commandline.
Doh! So a batchfile is a kludge way to do it.
I'll look at your effort and try it!
Edit:
I've read your readme and bat file.
You have given some thought to this
I have the program Take Command installed.
It has a much richer batch language.
I used to be pretty good with 4DOS batch commands but that was in the 1980 & 90s
I'll see what I can do to help with this.
Only thing that comes to mind so far is to see if error level checks work effectively with unrar.
If they do I guess you would have used them