On Friday 23 Aug 2002 2:50 pm, Russell Hires wrote:
On Friday 23 August 2002 00:40 am, you wrote:
On Thu, Aug 22, 2002 at 07:09:35PM -0500, wrote:
I'd like to move data.fs from \Program Files\Zope\var\data.fs to another location.
I tried \Program Files\Zope\start.bat -p "c:\new\location\data.fs" , no good.
Unless you severely hack the source code, the best you can do is set the environment variable INSTANCE_HOME to its new location. So, if you set INSTANCE_HOME to c:\new\location, you'd need to move everything in \Program Files\Zope\var (including the var directory itself) to c:\new\location.
At startup Zope looks for a file called custom_zodb.py which can contain a definition of an alternative storage. It is usually used to specify ZEO, bsddbStorage.Full, etc, but it can also be used to specify a FileStorage in a different directory.
No....why not just create a shortcut?
No, Windows shortcuts dont work that way.
(Or, in Linux land, a soft link...)
A link would work until the next pack. The packed file would get created in the original location.