Writing to $ALLUSERSPROFILE
m.schonewille at economy-x-talk.com
Mon Dec 11 08:15:01 CST 2006
Maybe, the problem is not that a system is localised but that the
user on that particular localised system is logged in as user with
limited permissions. You can probably write to that folder only if
you are logged in as administrator. Not that I am 100% sure, but this
seems a good theory to me.
Consultancy and Software Engineering
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 11-dec-2006, om 14:54 heeft Mark Powell het volgende geschreven:
> 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?
> Mark Powell
More information about the use-livecode