Get actual executable file path in Registry

Y

yxq

Hello,
I want to make a utility to clean Registry, my problem is that:
How to get actual executable file path?

There are lots of command line modes in Registry:

c:\program files\cccc\aaa.exe /i
c:\program files\cccc\aaa.exe -i
"c:\program files\cccc\aaa.exe" /i
c:\program files\cccc\aaa.exe -i %1
"c:\program files\cccc\aaa.exe /i"

I ONLY want to get the actual executable file path "c:\program
files\cccc\aaa.exe",
is there a standard syntax or examples code?

Thank you very much
 
G

Grant_Aust

Hi yxq,
You want to use a Regex expression to do what you want.
See microsofts website for details about the regex language.

Search for regular expressions regex language.

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top