LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

cd command

Syntax:

cd dir 

Examples:

cd sub1
cd ../new2
cd .. 

Description:

Change the working directory. All subsequent LAMMPS commands that access files for reading or writing will use the new directory.

Restrictions:

If the specified directory does not exist, LAMMPS will not detect the error.

Related commands: none

Default: none