Solved

full path of process

Posted on 2007-04-02
6
990 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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 …

840 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