Discussion Locked

How to end a program by command-line

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can anyone tell me how to end a task or program by command-line for Windows 95/98?

7 replies

by don.weston

There is no way native to win 95/98 to kill a process. I do know of a command line utility called kill.exe that will let you kill processes in NT but I'm not sure it would work with 95/98. E-mail me if you want it and I'll send it to you.

by ippacket

No joy with kill.exe. Each time the Process runs it could be under a different PID.
Thanks

by ann777

Since WinNT's "kill" requires a process id number, even if the program works on Win9x, there'd be no way of determining which processes you'd be killing except by trial and error.

You'd have to be awfully lucky to kill the right process, and while guessing at processes IDs, you'd probably kill something that kills windows in the process.

by joseph moore

There is another Resource Kit took, TLIST.EXE, that will list all running processes AND their PID.
So, you could get a copy of TLIST, run that, and then you would have the PID of the application you want to stop.
At that time, run KILL.EXE with the correct PID.

Hope that helps.

by ippacket

Yep, thats the one I was speaking of.
Thanks

The closest but a little too late. I'll give you the points.

This discussion is closed to new replies.