;~ Opt("TrayAutoPause", 0) ;~ Opt("MustDeclareVars", 1) ; * --------------------:| # Example Example() Func Example() Run("C:\Windows\System32\notepad.exe") Run("C:\Windows\System32\notepad.exe") Run("C:\Windows\SysWOW64\notepad.exe") Run("C:\Windows\SysWOW64\notepad.exe") Local $sProcessPath = "C:\Windows\System32\notepad.exe" Local $xProcessPath = "C:\Windows\SysWOW64\notepad.exe" Sleep(1000) _ProcessCloseByPath($xProcessPath) Local $vReturn = _ProcessCloseFromPath($sProcessPath) C