Solved

full path of process

Posted on 2007-04-02
6
986 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

15 Experts available now in Live!

Get 1:1 Help Now