Hi Tareq, Read the Windows Registry, using the following Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion Valid values = (5, 5.1, 6) Where: 5 = Win2000, 5.1 = WinXP, 6 = Vista If it = 5.1 OR 6 (Vista), then use: "taskkill /IM ExecutableName.exe" This will kill/stop ALL sessions of the same exe name. For more info: Open a DOS box and type in: taskkill /? You will see all the / options. Sorry, I don't the executable name for Win2000, which is different. HTH, Mark Stuart Tareq wrote: Hi everybody, I'm to tryin' to find a way to stop a program or an executable from the process tab of windows task manager. Is there any simple way to do that by scripting a btn? The executable may be rev app or others. Thanks in advance... _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution