Lisp HUG Maillist Archive

user profile

I deliver an application in Lispworks for Windows that runs on  
computers with several users, none who have access to the 'program  
files' directory where the application is installed. To print a
document, I would like to first create a text file in the user folder  
'My Documents'.
How do I determine the pathway to the folder 'My Documents'  given  
that it is different for
each user?

Thanks,
Sheldon


Re: user profile

Hello Sheldon,

| I deliver an application in Lispworks for Windows that runs on  
| computers with several users, none who have access to the 'program  
| files' directory where the application is installed. To print a
| document, I would like to first create a text file in the user folder  
| 'My Documents'.
| How do I determine the pathway to the folder 'My Documents'  given  
| that it is different for
| each user?

(sys:get-folder-path :my-documents) must do the trick.
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru


Updated at: 2020-12-10 08:47 UTC