Tuesday, May 31, 2022

How to stop VB Script in windows 10, if it is not stopping (auto running)


 Click on Task Manager and stop process below:-

> wscript.exe

>cscript.exe

---------------------------------------

For example, if you want to stop file test.vbs with below code that is running automatically

set ws = CreateObject("wscript.shell")

do wscript.sleep 3000

ws.sendkeys "{F5}"

loop

No comments:

Post a Comment