Hi, The directory where the file is stored / loaded is configurable when starting the Server tool with the "-properties" setting. See: http://h2database.com/javadoc/org/h2/tools/Server.html#main_String...
Regards, Thomas On Sat, Mar 23, 2013 at 9:14 AM, Ben <[email protected]> wrote: > As the documentation shows the settings file ".h2.server.properties" is > stored by default in the users home directory > Under Window in > > C:\Documents and Settings\[username]. > > Can I somehow put it into another directory (e.g. the installation > directory of H2)? > > This would mean I have either to pass the new location as cmdline argument > to H2 > or to setup a (new) enviroment variable like > > set H2CONFIG=D:\database\H2\.h2.server.properties > > Among other considerations I need this to have always a portable H2 > version on USB Stick at hand. > > In best case H2 itself should have internally a search order: > > 1.) Users home directoryQ > 2.) Own installation directory > > Thank you > Ben > > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
