Solved

full path of process

Posted on 2007-04-02
6
989 Views
Last Modified: 2008-01-09
i am using the code from http://www.swissdelphicenter.ch/torry/showcode.php?id=2010 to get a list of all running processes and their full path.

it returns the full path for most processes but not all - example for winlogon.exe or svchost.exe

anyone know how to get the full path for all processes?
0
Comment
Question by:mantra246
  • 3
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
wildzero earned 250 total points
ID: 18838579
You'll probly find that all of those ones that don't have a path are actually located in the Windows or Windows/System32 folders

0
 

Author Comment

by:mantra246
ID: 18838684
but it gets the path for notepad which is in the same folders you give so i don't understand why it fails to get the path of the other files
0
 
LVL 10

Expert Comment

by:wildzero
ID: 18838692
winlogon.exe
svchost.exe

Which user created them? These are more system files....
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:mantra246
ID: 18838888
but if the code returns the files in the list and the paths for the others then is ther no way to get it to return the path for those that it didn't like winlogin.exe, etc
0
 

Author Comment

by:mantra246
ID: 19346877
Closing question without answer :(
0
 
LVL 4

Expert Comment

by:Meldrachaun
ID: 19359684
For some reason I can't pull up the source code at link provided, but I would like to try and solve this problem, if you won't close it.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question