How to get absolute path from path with system path variables?

Posted by The_Fox on Stack Overflow See other posts from Stack Overflow or by The_Fox
Published on 2010-05-14T09:21:01Z Indexed on 2010/05/14 9:24 UTC
Read the original article Hit count: 392

Filed under:
|
|

Is there an easy way to translate a path with system path variables to an absolute path?

So %ProgramFiles%\Internet Explorer\hmmapi.dll becomes C:\Program Files\Internet Explorer\hmmapi.dll

I like to know if there is an API call that can do this, or do I have to do this the hard way and detect %..% sequences and replace them with the appropriate environment variable?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about path