Jump to content

Is it possible?


slayerz
 Share

Recommended Posts

Hello everyone! I'm juz wondering, is it possible to get the location of file through its process name?

Let say I run task manager, so the process taskmgr.exe will exist. So, I want to make a script that can retrieve the location of that file using its process name.

As a result, my script will return the result like this : C:\Windows\System32\taskmgr.exe

Thanks!

AUTOIT[sup] I'm lovin' it![/sup]

Link to comment
Share on other sites

Hello everyone! I'm juz wondering, is it possible to get the location of file through its process name?

Let say I run task manager, so the process taskmgr.exe will exist. So, I want to make a script that can retrieve the location of that file using its process name.

As a result, my script will return the result like this : C:\Windows\System32\taskmgr.exe

Thanks!

There was a UDF called _ProcessListProperties(), posted by a particular rakishly good looking antarctic water fowl...

:)

Provides the path to the executable in element [n][5] of the returned array.

^_^

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Hmmm.. let me guess you are talking about the Imperial Cormorant??

^_^

Hrumph!

Those upstart little boobies couldn't code their way out of a wet paper For/Next loop!

Cormorant, indeed!

Hrumph, I say!

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Bring 'em on! :)

Posted Image

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Probable results, that bird never had a chance...

True, but you got the wrong bird: Baked glazed Cormorant, anyone?

Posted Image

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Thanks to PsaltyDS for ur reply.

....and here we have so many bird's pic!=p

Glad it helped.

Sorry to hijack your topic with a dumb joke... BUT I DIDN'T START IT!

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...