Hi Jörg, Dennis

> file:///%APPDATA%/../../
>
> should also work. ;-)

It does not work. AOO in 'Tools - Options - OpenOffice - Paths' shows
nothing for "My Documents".
(the same in case of LibreOffice).

Regarding "$(username)" - the source file "substitutepathvars.cxx"

AOO, Lines 107 - 128
http://openoffice-vm1-he-de.apache.org/xref/aoo419/main/framework/source/services/substitutepathvars.cxx?r=910823ae

LO, Lines 87 - 109
https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=b4ec5a94

AOO does not define "$(username)" - but that might prove nothing.


Regards,
Czesław






чт, 25 мар. 2021 г. в 11:34, Jörg Schmidt <[email protected]>:

> > -----Original Message-----
> > From: Dennis Roczek [mailto:[email protected]]
> > Sent: Thursday, March 25, 2021 11:24 AM
> > To: [email protected]
> > Subject: Re: If the variable $(username) exists in OpenOffice?
> >
> > Hey,
> >
> > file:///%APPDATA%/../../
> >
> > should also work. J
>
> How is that supposed to work?
>
> The desired path is D:\Documents\$(username) and here D:\Documents (not
> C:\ ... ) is not a system path but a fixed path which of course cannot be
> set with a system variable like %Appdata%.
>
>
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to