New
#1
Bat file running as administrator does not work
Here is my test bat file:
@echo off
echo\
echo "Hello David"
echo\
pause
If I run this very simple bat file in a user account or admin account, or in an elevated command window, it works fine - I see the text and the pause - no errors. But if I run the bat file as Administrator (mouse right click) or use a shortcut to the bat file that runs as administrator, the window appears and immediately disappears. I do not see the text or the pause. Why? What am I missing?