# [tex-k] Changing path inside latex document

Robin Fairbairns Robin.Fairbairns@cl.cam.ac.uk
Sat, 08 Dec 2001 08:33:05 +0000

```> I would like to know if there is a latex command similar to
> shell ``cd''.
> For instance, if this command was named \chdir,
> \chdir{my_directory}
> \input{my_file}
> would be equivalent to
> \input{my_directory/my_file}

before posting to the world, it's always a good idea to look at the
faq.  you'ld have found a pointer to it in many obvious places, if
you'd bothered to look.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=docotherdir

```