Solved

full path of process

Posted on 2007-04-02
6
996 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

628 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