title: How to input password on command prompt using VBA?
body: <p>I've created a procedure on VBA (Excel) that restarts services on remote servers calling the command prompt and executing the "runas" command. I need to enter the command on the servers as administrator. So far it works fine but I don't want to have to type my password for each I want to run the command in. I know how I can automate the task using VBA and the Excel. What I don't know is how could I input my password on the command prompt using VBA?</p>
  
  <p>Can anybody help me?</p>
  
  <p>Thanks.</p>