Does write_restart support writing to file in another folder?

Dear users,
As I have no Lammps installed at hand, I’ve to ask this silly question.
Does write_restart and read_restart support file in parent or subdir?
Is read_restart ../xx.restart OK?
Thanks so much!

In principle, this should work just fine. However, on some clusters I've
worked on, the environment has not been properly set up to support the use
of relative path names (or environmental variables like $HOME). In this
case, you should use a fully qualified path instead of the relative path.
This usually solves the problem.


There is a also a shell cd command to
change your working directory, which you
could do before read/writing a file