• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Windows XP: Get a list of all command-line arguments for a running process

joshg

Golden Member
How can I get a list of all command-line arguments for a process in Windows XP?

In Linux I would just run a ps ax | grep whatever and that list would have all instances plus whatever command line arguments were ran with it.

How can I get the same type of deal under Windows XP ? Anyone know?

Thanks for the help! 😀
 
<command> /?

edit

Im not sure if that is what you are looking for...I just saw the part where you wanted "for a process" so I didnt know if you meant one that was running or a command 😛
 
Thanks yeah in the subject I referenced "running process" but I left that bit out in the body of the message! Yes I'm looking for what command line options were used to launch an existing running process! 🙂
 
tlist <appname>

ex. (from my machine):

<snip>

C:\Documents and Settings\xxx>tlist windbg
2276 windbg.exe Kernel 'com😛ort=\\.\pipe\mydebug,pipe,resets=0,reconnect' - WinDbg:6.3.0016.
1
CWD: c:\debuggers\
CmdLine: &quot;C:\Debuggers\windbg.exe&quot; -k com😛ort=\\.\pipe\mydebug,pipe,resets=0,reconnect -WX -c $<script.txt

<snip>
 
Cool, thanks! It looks like this tlist is just the ticket.

I did a little searching and they replaced tlist.exe with tasklist.exe in Windows XP. Unfortunately this tasklist.exe doesn't give nowhere near as many options it seems.

Right now I'm downloading support tools for Windows 2000 that is supposed to have the tlist.exe file included -- we will see how it goes!
 
Well I installed Win2k Support tools onto my winXP box and it works! Very nice -- I will copy over this tlist.exe now and see if it works at home. Thanks for the suggestion again!
 
Back
Top