- Aug
- 2,320
- 111
I've added this variable definition to my TCStart.btm file;
This will give me the name of the parent process of the TCC.EXE from which I am currently in.
I can now see from which process the current TCC.EXE was launched;
Joe
Ref: Enumprocesses
Ref: What's New In Version 21
Code:
set _ppname=%@word[1,%{0,enumprocesses %_ppid}]
This will give me the name of the parent process of the TCC.EXE from which I am currently in.
I can now see from which process the current TCC.EXE was launched;
- conhost.exe
- openconsole.exe
- powershell.exe
- explorer.exe
Joe
Ref: Enumprocesses
Ref: What's New In Version 21