Home > OS >  Bat script after about remote desktop unable to execute the command
Bat script after about remote desktop unable to execute the command

Time:11-26

I use in the bat qprocess. Exe command to check the program running state, when open the remote desktop script is normal, but closed after the remote desktop can't use qprocess script. Exe got the data, is this why?

Below is the test script
 
@ echo off

: checkstart
For/f "tokens=5" % % n in (' qprocess. Exe) do (
Echo % % n
)
Goto checkag

: checkag
Goto checkstart



  • Related