Skip to main content
2 of 3
added 28 characters in body
Charles
  • 267
  • 5
  • 15

Using runas /user to run a batch file, seemingly nothing happens

If I run

runas /user:<username> batch_file.bat

after entering my password, all I see is a shortly blinking new cmd window, then nothing. My batch file contains a pause command which should therefore require me to press "Enter", and so I would at least expect the cmd window to persist until that point in my batch file.

Am I doing anything wrong ? How can this be fixed ?

Charles
  • 267
  • 5
  • 15