Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

process list+file names+command lines


  • Please log in to reply
21 replies to this topic
Tekl
  • Members
  • 814 posts
  • Last active: May 03 2009 03:28 PM
  • Joined: 24 Sep 2004
Very impressive. Is there a way to get also all open documents? I can see how my text editor was started, but not which files are open. Is there a way?
Tekl

Mustang
  • Members
  • 421 posts
  • Last active: Dec 26 2010 10:08 PM
  • Joined: 17 May 2007
The CloseHandle DllCall in the GetModuleFileNameEx function requires a type "uint"

automaticman
  • Members
  • 658 posts
  • Last active: Nov 20 2012 06:10 PM
  • Joined: 27 Oct 2006

... how my text editor was started, but not which files are open...

? In which text editor if I may ask?

automaticman
  • Members
  • 658 posts
  • Last active: Nov 20 2012 06:10 PM
  • Joined: 27 Oct 2006
? Any ideas where and how to use this tool? Some application examples would be nice.

Kunphewzd
  • Guests
  • Last active:
  • Joined: --
This is a great tool. I have been using it for a couple of years to easily attach JIT debugger to the correct pid related to specific process when there are many parallel same named processes running.

But we are now migrating to Windows 7 - and it no longer works. Seems to be failing doing ReadProcessMemory.

If there is an active response to my query - I can try to get more details on the failure.

Diamond
  • Members
  • 198 posts
  • Last active: Dec 02 2015 11:18 AM
  • Joined: 31 Mar 2006
Indeed. I know this thread is rather old, but I too would be interested in seeing this code updated for Windows 7.

Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006
It can be done fairly easily with AutoHotkey_L and WMI. For example,
for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process")
    processes .= process.Name "  -  " process.ExecutablePath "  -  " process.CommandLine "`n"
MsgBox % processes
Reference: http://msdn.microsof... ... p/aa394372