>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Thank you. Looks like this means Environment.SpecialFolder Angus> folder; This is as long as you program in C#, of course :) Angus> // $PREFIX/share/lyx on *nix Angus> folder = Environment.SpecialFolder::CommonApplicationData; Angus> system_lyxdir = Environment.GetFolderPath(folder) / "lyx"; Yes, or maybe "LyX" Angus> // $HOME/.lyx on *nix folder = Angus> Environment.SpecialFolder::ApplicationData; Angus> user_lyxdir = Environment.GetFolderPath(folder) / ".lyx"; Why not "LyX" instead of ".lyx"? There is no reason of using this on non-unix systems. Angus> // Defaults to os::binpath() on *nix. I guess you mean os::homepath(). Angus> folder = Environment.SpecialFolder.Personal; Angus> document_path = Environment.GetFolderPath(folder); JMarc