Saving Prefs on Windows

xavier.bury at clearstream.com xavier.bury at clearstream.com
Wed Oct 19 07:22:47 EDT 2005


There's MANY different options in windows...

First if you type set (or get that from the shell() you get

ALLUSERSPROFILE=D:\home\All Users <- all users' home path
APPDATA=D:\home\Administrator\Application Data <- common place for this 
user's data
CommonProgramFiles=D:\app\common <- another common place for app data
COMPUTERNAME=ZEROZEROSIX <- just in case
HOMEPATH=\home\Administrator <- directory of current user
ProgramFiles=D:\app  <- this is where apps are installed by default
(among other lines)

The other choice is to store your info in the registry which is kind of a 
standard. If you uninstall
or if a different user asks for information, it's easier to find... 

type regedit in the command box and look for this path

HKEY_local_machine/software/softwarename/productname/etc...

Unfortunately, you can't browse the contents in rev, you need to furnish 
an existing key to
read its values. Creating registry entries is not hard but it's better to 
see how it's done.

Best place for that is the revdocs and in technet.microsoft.com

hope it helps
cheers
Xavier
http://monsieurx.com/taoo

use-revolution-bounces at lists.runrev.com wrote on 19/10/2005 11:42:41:

> I'm finding I really need to have my apps take greater control over 
> installation locations, upgrades, prefs etc. otherwise support time 
> goes way up for naive users... i.e. basic operations like the above 
> just needs to happen automatically...
> 
> for OSX, it is clear where to save supporting  files...
> 
> /Applications/myRevApp/someApp.rev
> /Library/Application Support/myRevApp/supportFiles..../
> 
> but I'm not familiar with Windows. In one app I am just saving some 
> Prefs for my app in the user's Documents/myRevAppPrefs/  folder... 
> using the special path.. some Windows users are not super happy about 
> this... as it is not normal Windows behavior.
> 
> Is it ok to simply make a new folder in the Windows System folder and 
> put your prefs and any lo-level support files there? These being 
> files the users never needs to see or edit.
> 
> Sivakatirswami
> 
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is 'firstname.familyname at clearstream.com'.


Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list