Gets the root of the user's profile on a Windows system.
system
get-user-profile-directory => result
result⇩ |
A directory pathname naming the path, or nil . |
The function get-user-profile-directory
obtains the path to the current user's profile folder on a Windows system. get-user-profile-directory
is implemented only on Microsoft Windows.
result names the root of the profile directory.
Note that the default path for each user's profile may differ between versions of the operating system.
In LispWorks 5.0 and previous versions, get-user-profile-directory
returns a string.
On Windows 10, Windows 8 and Windows 7:
(sys:get-user-profile-directory) => #P"C:/Users/dubya/"
On Windows XP (now unsupported):
(sys:get-user-profile-directory) => #P"C:/Documents and Settings/dubya/"
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02