Home > Archive > VC Utilities > March 2005 > Any way to get the command line info for another process ? Help!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Any way to get the command line info for another process ? Help!
|
|
| Kent Liu 2005-03-24, 4:00 am |
| Hi, I need to know the command line (startup info) for the other processes
(not the current process).
I've tried the Tool Help functions (API), Process & Thread functions, WMI
(the W32_process.CommandLine property only works under WinXP/Windows 2003),
all can't get any idea. I also searched google such as "command line
process" but can't get useful result.
I've found that there is some utility such prcview.exe could make this.
Currently, I could know the executeble file name (also could get in full
path format), but still don't know the way to get the command line argument
of the other processes.
Does any one get some idea to help me ?
| |
| Juergen Thuemmler 2005-03-24, 9:00 am |
| > Hi, I need to know the command line (startup info) for the other processes
> (not the current process).
I've written a little DLL, which can do it, but it assumes, that this
process has created at least one visible window with a titlebar. If
interested in a sample project, please mail.
Juergen.
|
|
|
|
|