<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Bob<br>
    <br>
    Info is in the linked article<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://delphi.about.com/od/kbwinshell/a/SHGetFolderPath.htm">http://delphi.about.com/od/kbwinshell/a/SHGetFolderPath.htm</a><br>
    <br>
    Cheers<br>
    <br>
    David<br>
    <br>
    On 21/06/11 05:25, Bob Pawley wrote:
    <blockquote cite="mid:251C7AE51BE241098D7922C0D6E3EB6C@BobPC"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=iso-8859-1">
      <div>
        <div>
          <div>Hi</div>
          <div>&nbsp;</div>
          <div>I have an executable which I need to access that is
            installed in Program Files.</div>
          <div>&nbsp;</div>
          <div>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.</div>
          <div>&nbsp;</div>
          <div>Win 7 path - C:\Program Files (x86)\...</div>
          <div>&nbsp;</div>
          <div>or</div>
          <div>&nbsp;</div>
          <div>Win XP path - C:\Program Files\...</div>
          <div>&nbsp;</div>
          <div>Any thoughts on an easy way to do this would be
            appreciated.</div>
          <div>&nbsp;</div>
          <div>Bob</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
    </blockquote>
    <br>
  </body>
</html>