title: how to set a password on a rar file
body: <p>I set a password on a rar file like this : </p>
  
  <pre><code>rar.exe a backup.rar c:\files -p123 -p- -k
  </code></pre>
  
  <p>this code set a password on my rar file and add <code>file</code> to it , but i do not know what is my password.
  this is my C# code : </p>
  
  <pre><code>p.StartInfo.FileName = System.Windows.Forms.Application.StartupPath + "\\Rar.exe";
  p.StartInfo.Arguments = @"a backup.rar c:\files -p123 -p- -k";
  p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
  p.Start();
  p.WaitForExit();
  </code></pre>