Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I execute the following command via the command line:-

wmplayer.exe /play "c:\VIDEO_TS\VIDEO_TS.VOB"

Is there any way to get info for the running process from the system that also includes the full command line executed (similar to ps -aux on Linux)?

"tasklist /v" only tells me that "wmplayer" is running, not which file is playing (e.g. c:\VIDEO_TS\VIDEO_TS.VOB)

The command pslist doesn't appear to give me that info either. Is it possible to do this on Windows?

I'd appreciate any help you can offer me.

Kind Regards,


share|improve this question
Found the solution (or at least a colleague did!):- WMIC PROCESS does the trick. SteJav – stejav Jan 31 '11 at 13:35
post it as the answer to your question then, so you can mark it as accepted – DerfK Jan 31 '11 at 14:00
just a warning that processes can manipulate that value: – dsolimano Jan 31 '11 at 14:14 procexp (Process Explorer) can also do this. Think of it as task manager on steroids. Double-click on the process name, and the Image tab will show you the command line. Process Explorer will also let you see all files & handles the process has open, and will let you force close individual handles among other useful functions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.