gemus_script_reference:functions:kill_process
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | gemus_script_reference:functions:kill_process [2020/05/12 11:26] – created Jimbo | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Back to [[.:|Script Function Reference]] | ||
+ | ====== Kill_Process() ====== | ||
+ | |||
+ | The Kill_Process() function kills all running processes matching the specified filename. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Arguments ===== | ||
+ | |||
+ | ^ Argument ^ Required ^ Description ^ | ||
+ | | // | ||
+ | \\ | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | < | ||
+ | Kill_Process(notepad.exe) | ||
+ | </ | ||
+ | This kills any running process who's path-less filename is " | ||
+ | |||
+ | < | ||
+ | Kill_Process(c: | ||
+ | </ | ||
+ | This kills any running process who's absolute full path\filename is " | ||
+ | |||
+ | < | ||
+ | Kill_Process(%dbpath%\Joy2Key\JoyToKey.exe) | ||
+ | </ | ||
+ | This kills the running process JoyToKey.exe if it was started from " | ||
+ | |||
+ | ===== Remarks ===== | ||
+ | |||
+ | * Use this function with care: It will immediately and relentlessly TERMINATE all matching running processes, so be careful what you pass this function as an argument! | ||
+ | * This function is Windows XP/Vista/7 only. It does not support 9x. It also has not been tested on 64-bit versions. | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | * [[.: | ||
+ | * [[.:|Script Function Reference]] |
gemus_script_reference/functions/kill_process.txt · Last modified: 2023/10/04 14:15 by 127.0.0.1