Solved

full path of process

Posted on 2007-04-02
6
987 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now