full path of process

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?
mantra246Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wildzeroCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mantra246Author Commented:
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
wildzeroCommented:
winlogon.exe
svchost.exe

Which user created them? These are more system files....
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

mantra246Author Commented:
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
mantra246Author Commented:
Closing question without answer :(
0
MeldrachaunCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.