vijkid143
-
Total Posts
:
6
- Scores: 0
-
Reward points
:
0
- Joined: 9/7/2009
-
Status: offline
|
Terminate or stop VBScript in between using BATCH Command
Wednesday, September 23, 2009 5:59 AM
( permalink)
Hi All You can stop the VBScript at any time when you want to terminate the program in between Steps 1) Open Notepad 2) type the below line TASKKILL /F /FI "USERNAME eq Vijay" /IM wscript.exe 3) save the file as "TASKKILL.bat" 4) Make a shortcut of it on your Shortcut toolbar 5) Now run any VBScript and when the VBSCript is in runnng, Then Click in the TASKKILL.bat from shorcut which will stop the program then and there. T Note: Even though you can kill the wscript.exe from task manager to do the same job but there are some instances when your VBScript is running using Sendkeys Commands where TASKKILL.bat is useful to control the Script more easily whenver you want to stop it
|
|
|
|