See https://matsci.org/t/lammps-gui-test-version-for-macos-windows-and-linux/49921/28
Currently LAMMPS shortcuts on Windows are pointed to the initial working directory %HOMEDRIVE%%HOMEPATH%\Documents:
|
SetOutPath "%HOMEDRIVE%%HOMEPATH%\Documents" |
This is fragile (for example, my computer has Documents pointing to a network share drive, and anecdotally different language localizations for Windows use different names e.g. "Dokumente".
This could be fixed by either:
See https://matsci.org/t/lammps-gui-test-version-for-macos-windows-and-linux/49921/28
Currently LAMMPS shortcuts on Windows are pointed to the initial working directory
%HOMEDRIVE%%HOMEPATH%\Documents:lammps-packages/mingw-cross/installer/lammps-gui.nsis
Line 310 in d55e3f7
This is fragile (for example, my computer has Documents pointing to a network share drive, and anecdotally different language localizations for Windows use different names e.g. "Dokumente".
This could be fixed by either:
[Environment]::GetFolderPath([Environment+SpecialFolder]::MyDocuments)(https://stackoverflow.com/questions/3492920/is-there-a-system-defined-environment-variable-for-documents-directory) and then putting that into environment variables.