the path to program files is in the environment variable 'ProgramFiles' and you can get the value by using the function GetEnvironmentVariable

Patrick

Marco Congedo wrote:
Hello,
how can an application know at run time the complete path of the "Program files" directory, ( for all languages). Also, is there a way to know the path of the start-menu directory where programs shorcuts are installed to be accessible from the START Windows menu?
Thanks a lot!
Marco



Marco Congedo, PhD -------------------------------
INRIA
(National Institute for Research in Informatics and Control)
Grenoble, France Tel: +33 4 76615409
Fax: +33 4 76615454



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

-- Applications Team Leader t : +44 207 251 7920 f : +44 207 608 3592

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to