[DUG] File Path

Bob Pawley rjpawley at shaw.ca
Tue Jun 21 05:25:43 NZST 2011


Hi

I have an executable which I need to access that is installed in Program Files.

With the advent of 64 byte in Windows 7, I need to distinguish which of the two file paths to use depending on the operating system.

Win 7 path - C:\Program Files (x86)\...

or

Win XP path - C:\Program Files\...

Any thoughts on an easy way to do this would be appreciated.

Bob







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110620/ecff06ab/attachment.html 


More information about the Delphi mailing list