The function lisp-image-name returns the namestring of the full path of the LispWorks executable or dynamic library (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.
Note:
Microsoft Windows supports Long and Short forms of paths. You may need to convert a namestring using long-namestring or
short-namestring.
LispWorks User Guide and Reference Manual - 13 Feb 2015