slayerz Posted December 8, 2007 Share Posted December 8, 2007 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 More sharing options...
PsaltyDS Posted December 8, 2007 Share Posted December 8, 2007 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 More sharing options...
schilbiz Posted December 8, 2007 Share Posted December 8, 2007 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. Hmmm.. let me guess you are talking about the Imperial Cormorant?? Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 8, 2007 Share Posted December 8, 2007 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 More sharing options...
schilbiz Posted December 8, 2007 Share Posted December 8, 2007 Hrumph! Those upstart little boobies couldn't code their way out of a wet paper For/Next loop! Cormorant, indeed!Hrumph, I say! This is what I have to say to that!http://www.brutusostling.se/english/penguins/pingvin02.jpg Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 8, 2007 Share Posted December 8, 2007 This is what I have to say to that!http://www.brutusostling.se/english/penguins/pingvin02.jpgBring 'em on! 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 More sharing options...
schilbiz Posted December 9, 2007 Share Posted December 9, 2007 Probable results, that bird never had a chance...http://static.flickr.com/90/256076962_b2d43ea3fe.jpg Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 9, 2007 Share Posted December 9, 2007 Probable results, that bird never had a chance...True, but you got the wrong bird: Baked glazed Cormorant, anyone? 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 More sharing options...
schilbiz Posted December 9, 2007 Share Posted December 9, 2007 Atleast people eat cormorant, even vultures won't touch a penguin. Link to comment Share on other sites More sharing options...
BAM5 Posted December 9, 2007 Share Posted December 9, 2007 You just haaaaaaaaadd to go there didn't you?Atleast people eat cormorant, even vultures won't touch a penguin. [center]JSON Encoding UDF[/center] Link to comment Share on other sites More sharing options...
slayerz Posted December 9, 2007 Author Share Posted December 9, 2007 Thanks to PsaltyDS for ur reply. ....and here we have so many bird's pic!=p AUTOIT[sup] I'm lovin' it![/sup] Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 9, 2007 Share Posted December 9, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now