Writing to $ALLUSERSPROFILE

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Dec 11 08:57:48 EST 2006


Hi Mark,

Here I use Win XP home and Pro localized in French but as these  
folders are usually hidden, they keep here their English name.
Can't tell more...
May be Klaus could be tell you what happens in German?

Le 11 déc. 06 à 14:54, Mark Powell a écrit :

> Working on a utility for Windows that writes to
>
>   C:\Documents and Settings\All Users\Application Data
>
> but it occurs to me that this would not work for non-English operating
> systems.  Three questions:
>
> - Can I use the environmental variable $ALLUSERSPROFILE with absolute
> confidence that it will resolve on all Windows operating systems?
> - How do I write into the "Application Data" subdirectory? (i.e.  
> how do
> I anticipate the localized name?)
> - If I can't, then can I create a directory at the root of "All Users"
> with absolute confidence that I can do it on all systems?
>
> Thanks
>
> Mark Powell

Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list