finding out "Process ID" via cmd Console
- From: Christoph <ebe.chris@xxxxxxxxx>
- Date: Mon, 11 Jun 2007 01:28:44 -0700
I have a cmd file (batch file) which starts an exe after setting
parameters. I need to find out the Process ID of the exe via a
command. The problem is that my program, written in C# only knows the
PID of the cmd file. I don't want to use a method like
GetAllProcesses(). If I want to kill the processes (both the cmd and
the exe) I have to kill the exe. Otherwise the exe process is still
alive. The "taskkill" command is also not helpful because the program
itself can be started for several times. That's why the name of the
process doesn't really help to kill it.
Thanks for help.
.
- Prev by Date: Re: Park volume icon in task bar
- Next by Date: Re: 0xc0000022 error
- Previous by thread: Re: How can I easily find and delete duplicate docs
- Next by thread: Windows XP Pro activation with internet proxy
- Index(es):
Relevant Pages
|