The function
lw:lisp-image-name
returns the namestring of the full path of the LispWorks executable or DLL. For example, the directory of the image can be found using:
(pathname-location (lisp-image-name))
To create a new executable or DLL, typically after loading patches, modules and application code, use
save-image
or
deliver
.