Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close program & kill process from batch file

Status
Not open for further replies.

mobajwa

MIS
Feb 10, 2005
122
US
How do you close a program or a kill a process by a batch file.Suppose I have multiple instances of internet explorer and want to close a specific one, hwo do i close it from a batch file ?
This is how i am basically planning to use it. An idle computer first closes all non crucial programs that are running. then it runs scheduled jobs like defragmentation, scan disk virus scanner, and after that is done, i want the pc to start those programs again. I know the jobs can be run while those programs are running but I just want to make sure, the computer has as much free RAm as possible when running those tasks. Any Suggestions ?
 
Http:\\
they have PSTools, a series of command line tools used for system administration - "PSKill" is one of these, used to kill processes either locally or remotely..."PsShutdown" is also very useful.


HTH


ChrisCj21
MCSE, A+, N+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top