I have a batch file which contains below code:
runas /user:Administrator "C:\Test.bat"
When i'm running this file it asks for Password so if in case i give incorrect password it directly terminates but i want to handle this error. It should not terminate directly.