Still confused about pathname
Thanks Edi!
(make-pathname :host "C" :directory "Windows")
> #P"C:/Windows/"
Still that seems wrong..
The host is localhost. Also I would get in trouble using :host with ACL:
(let ((dir (get-working-directory)))
(defparameter *app-help-directory*
(make-pathname
:host (pathname-host dir)
:device (pathname-device dir)
:directory (pathname-directory dir))))
is my best bet I guess. That works.
(I still need to replace get-working-directory)
If C is host what is device for then?
Is there a more reliable way of getting user data home directory portably?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/