On Wed, 27 May 2015, Glaucos Ginez wrote:

Hi, you can use GetEnvironmentVariable('LocalAppData')

2015-05-27 14:53 GMT-04:00 Richard Mace <[email protected]>:
      Hi All,
I need to use/get a common windows folder (in Win XP,Vista,7,8 and 8.1) that 
all users will have
read/write access to by default.
I think it is CSIDL_COMMON_DOCUMENTS

Any ideas how I can code this in Lazarus?

You can use the shfolder unit. It contains the necessary constants and
calls to retrieve the location.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to