Hello !!!
Is possible to stop compiled macro with command line command ?
Thanks and geetings,
Reimon
Command line stop compiled macro
Moderators: Dorian (MJT support), JRL
Command line stop compiled macro
Hello !!!
I have found taskkill command.
Any other idea ?
Greetings,
Reimon
I have found taskkill command.
Any other idea ?
Greetings,
Reimon
If you're looking to stop an executable from the DOS command line or from "Start">"Run" then I'd use taskkill.
taskkill /F /IM process name
If you're looking for a macro scheduler solution you can use taskkill or a VBScript solution that Marcus posted HERE.
Or
taskkill /F /IM process name
If you're looking for a macro scheduler solution you can use taskkill or a VBScript solution that Marcus posted HERE.
Code: Select all
Let>RP_WAIT=1
Let>RP_WINDOWMODE=0
RunProgram>cmd /c taskkill /F /IM process name
Code: Select all
VBSTART
Sub killProcess(pgm)
set wmi = getobject("winmgmts:")
sQuery = "select * from win32_process " & "where name='" & pgm & "'"
set processes = wmi.execquery(sQuery)
for each process in processes
process.terminate
next
End Sub
VBEND
VBRun>Killprocess,process name
Very thanks JRL
Very thanks JRL.
Greetings,
Reimon
Greetings,
Reimon