Jump to content
Sign in to follow this  
bedazzled

full path of running exes (process list)

Recommended Posts

bedazzled

ive no idea where or indeed if this infomation is available ... i suspect it must be somewhere ...

im trying to get the full path of currently running processes (applications etc) in much the same way as is available through unix ps -ef commands etc etc

anyone have any ideas?

thanks

Share this post


Link to post
Share on other sites
LxP

Currently there's no way to do this with AutoIt's inbuilt functions, but this has been coming up a lot recently with no simple solution and I think you would do well to make a post to the Idea Lab forum regarding some optional parameter to the Process...() calls to indicate the return of full paths.

Share this post


Link to post
Share on other sites
PerryRaptor

I don't know if you wanted a pure AutoIT solution or one that can be scripted; however, try the attached proggy.

process.zip

Share this post


Link to post
Share on other sites
Gigglestick

Currently there's no way to do this with AutoIt's inbuilt functions, but this has been coming up a lot recently with no simple solution and I think you would do well to make a post to the Idea Lab forum regarding some optional parameter to the Process...() calls to indicate the return of full paths.

<{POST_SNAPBACK}>

What about the ProcessList, ProcessExists, ProcessClose, ProcessWait, ProcessWaitClose, ProcessSetPriority functions and the UDF _ProcessList? ... you mean those "inbuilt" functions?

They're definitely in the latest release and beta, and I think they've been in there for at least a year or more.

Please excuse me if I sound "punchy" as I'm very tired... heading for bed now.


My UDFs: ExitCodes

Share this post


Link to post
Share on other sites
LxP

Yes. But they don't return the full path as requested.

Share this post


Link to post
Share on other sites
Gigglestick

Yes. But they don't return the full path as requested.

Touché! Told you I was tired. :dance:

Perhaps something on the MSDN page for "WMI Tasks: Processes" will help you. Particularly the CommandLine property? :dance:

MAN, I love the Win32_xxx classes! :whistle:


My UDFs: ExitCodes

Share this post


Link to post
Share on other sites
Confuzzled

Touché!  Told you I was tired. :dance:

Perhaps something on the MSDN page for  "WMI Tasks: Processes" will help you.  Particularly the CommandLine property? :dance:

MAN, I love the Win32_xxx classes!  :whistle:

<{POST_SNAPBACK}>

Thank you very muchly! This is the proper way to do it. See my comments in answer to my own quest for exactly the same information at http://www.autoitscript.com/forum/index.ph...topic=14794&hl=

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×