Bat file runs ok up to “Pause -Press any key” which does not exit (Lost focus)

  • Thread starter Thread starter DavidEacott
  • Start date Start date
D

DavidEacott

Guest
Hi everyone – I have a problem with a bat file and am using a test bat file to figure it out. I am using a test bat that runs OK from C:\test and ends with a command prompt window onscreen with Pause/press any key which exits ok. It runs OK when I right click/run from inside Task Scheduler (Logon/User is logged on/Highest privileges/win10) and ends with a prompt window onscreen with pause/press any key which exits ok. BUT when I start/restart it, it runs OK and ends with a prompt window onscreen with Pause/press any key which does not work because key presses are not going to the open wi

Continue reading...
 
Back
Top