How can I determine a cmd.exe's parent process.
Posted
by René Nyffenegger
on Super User
See other posts from Super User
or by René Nyffenegger
Published on 2010-03-16T09:31:40Z
Indexed on
2010/03/16
9:36 UTC
Read the original article
Hit count: 511
Sometimes I find myself in a cmd.exe environment that itself was started
by another cmd.exe or by another console-based application. Now, working
in such an environment, I'd like to know what happens if I type exit
,
that is, if the cmd.exe window will disappear, or if it goes back to the
creating cmd.exe or application. This, of course, because sometimes as
I work in cmd.exe I am forgetful about how I called it.
So, is there a way to find out the parent process (if this is the correct terminus for what I mean) of a cmd.exe within cmd.exe?
© Super User or respective owner