mdivk
mdivk

Reputation: 3727

How to capture commandline output

I want to run

"runas /user:xxxx "aspnet_regiis /i"

in my windows 2008 server, it failed with a quick popup window disappears right away.

How can I capture the output? or let the popup window not disappear right away until I close it.

Thank you very much.

Upvotes: 0

Views: 521

Answers (1)

mdivk
mdivk

Reputation: 3727

Issue resolved, all I need is to see the output which has some error message. I run as the cmd and get the right privilege and everything is fine.

Thanks for replying.

Upvotes: 1

Related Questions