> > I am not able to fully understand the part > "the directory is defined in the compilation process and there's no way to > achieve this without changing the code". > > Open LyX and select Help > About. There you can see what directory LyX is using to store user files.
On Windows, this folder is defined based on the %APPDATA% environment variable. Currently, there's no way to change this without changing the code. This is what I meant. Cheers, --- Diego Queiroz