When LispWorks starts up, it looks for an initialization file to load. The name of the file is held in
, and is
by default. You can use parse-namestring to see the expansion of this path. The file may contain any valid Lisp code.
You can load a different initialization file using the option
in the command line, for example (all on one line):
C:\Program Files\LispWorks>lispworks-6-1-0-x86-win32.exe -init my-lisp-init
would make LispWorks load
as the initialization file instead of that named by
The loading of the siteinit file (located by default at
) is similarly controlled by the
command line argument or
You can start an image without loading any personal or site initialization file by passing a hyphen to the
arguments instead of a filename:
C:\Program Files\LispWorks>lispworks-6-1-0-x86-win32.exe -init - -siteinit -
This starts the LispWorks image without loading any initialization file. It is often useful to start the image in this way when trying to repeat a suspected bug. You should always start the image without the default initialization files if you are intending to resave it.
In all cases, if the filename is present, and is not a hyphen, LispWorks tries to load it as a normal file by calling
. If the load fails, LispWorks prints an error report.
LispWorks Release Notes and Installation Guide - 23 Dec 2011