-> runs myprogram with cwd set to D:\Mydir\
-> runs myprogram with cwd set to D:\
MicroVirus wrote:I think I could pass "." to EXT:ABSOLUTE-PATHNAME and get the root directory of the process.
> (absolute-pathname "./")
(defparameter *install-path* (make-pathname :name nil :type nil :defaults *load-truename*)) ; remove name and extension from truename
MicroVirus wrote:Thanks for your reply. I'll try out *load-truename* as soon as I can. I am very curious if it is properly bound when using an executable created with saveinitmem.
Users browsing this forum: Bing [Bot] and 4 guests