title: How to open cmd and pass parameter through batch file
body: <p>I want to create a batch file to run the command. I want to add IP in my command.
  <br/>
  My command is <pre> route add 26.284.254.269 mask 245.245.256.236 24.18.16.4</pre></p>
  
  <p>The above IPs are examples not actual.</p>
  
  <p>I have created a batch file named <b>runAs.bat</b>. It successfully run in login Administrator.
  I need to open command prompt as runas domain-name\administrator password and pass the above command in it in windows xp.<br/>
  I have used the following command.</p>
  
  <pre>runas domain-name\administrator password cmd "route add 26.284.254.269 mask 245.245.256.236 24.18.16.4"</pre>
  
  <p>But it shows RUNAS USAGE:
  How to use RUNAS.
  <br/>
  Where is the problem in my command. I had google about it but noone could help me. Please give some suggestion or batchfile command for this.</p>