How do I use rar to encrypt files including the file list in the command line?
hp[password] Encrypt both file data and headers
Here are command lines that can be used:
rar a -hp "rarfile"
this will ask for password twice before to create rarfile.rar
rar a -hpYourPassword "rarfile"
this will use YourPassword as password and create rarfile.rar