# Reach another folder with \input

How do I reach a file in another folder when using `\input`?

E.g. I have my main document `frontpage.tex` in a folder called `main` and a file `chapter1.tex` in a folder `chapters`. How do I in `frontpage.tex` reach the `chapter1.tex` with a command like the following, which I can't get working:

``````\input{..\chapters\chapter1}
``````
-
use `/` not `\ ` –  David Carlisle Nov 26 '12 at 9:41
Correct. Thanks. Please leave an answer. –  Steeven Nov 26 '12 at 9:55

Use `/` not `\`. ...........................