AndyO
asked on
Stop an application
If I am running an application (ie notepad) could I run a Dos command to stop it?
If so - how?
If so - how?
The tool you need is already in XP.
tskill.exe
you just need to know the process id or process name.
ex. tskill notepad
tskill.exe
you just need to know the process id or process name.
ex. tskill notepad
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not with Win 3.x, 9x, ME and alike.. Only the NT family of Operating Systems come with task killers..
there is a command from the Windows NT4 resource kit you can use
in Windows XP you can use taskkill command
http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/WINDOWSXP/home/using/productdoc/en/taskkill.asp
you just need to know the name of the process or task
you can use the task manager to test and check for what it may be
notepad will be notepade.exe
so in Windows XP
taskkill /s userspcname /u domainname\adminaccount /p mypassword /im notepad.exe
this should kill the notepad session on the "userspcname" with your credientials