Hi Bob, Will following code work?
ExtractFilePath(Application.ExeName) Regards Leigh 2011/6/21 Bob Pawley <rjpaw...@shaw.ca> > 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 > > > > > > > > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe