https://bugs.documentfoundation.org/show_bug.cgi?id=147951

--- Comment #1 from flywire <flywi...@gmail.com> ---
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1util_1_1PathSubstitution.html

$(home)
The home directory of the user. Under Unix this would be the home- directory.
Under Windows this would be the CSIDL_PERSONAL directory, for example
"Documents and Settings\<username>\Documents".

See https://docs.microsoft.com/en-us/windows/win32/shell/csidl#CSIDL_PERSONAL -
FOLDERID_Documents

Description: Version 6.0. The virtual folder that represents the My Documents
desktop item. This is equivalent to CSIDL_MYDOCUMENTS.
Previous to Version 6.0. The file system directory used to physically store a
user's common repository of documents. A typical path is C:\Documents and
Settings\username\My Documents. This should be distinguished from the virtual
My Documents folder in the namespace. To access that virtual folder, use
SHGetFolderLocation, which returns the ITEMIDLIST for the virtual location, or
refer to the technique described in Managing the File System.

See https://docs.microsoft.com/en-us/windows/win32/shell/csidl#CSIDL_PROFILE

Description: Version 5.0. The user's profile folder. A typical path is
C:\Users\username. Applications should not create files or folders at this
level; they should put their data under the locations referred to by
CSIDL_APPDATA or CSIDL_LOCAL_APPDATA. However, if you are creating a new Known
Folder the profile root referred to by CSIDL_PROFILE is appropriate.

Comments:

1. Description above would equally apply to linux.
2. This is an OS setting and paths should be equivalent for linux and Windows.
3. Path has been interpreted narrowly for documents but needs to be considered
from a more general programming use.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to