# Not able to compile ... Command not started

\documentclass[12pt]{book}
\usepackage{amsmath}

\begin{document}

\chapter{X}
\include{X}

\end{document}


It's not compiling at all. Giving me an error saying - pdflatex -synctex=1 -interaction=nonstopmode %.tex

I saw a similar question about this on the site. It did not help me. Please offer some advice.

If it helps, I didn't exactly download TexMaker and MikTex on my current laptop. I simply transferred MikTex and TexMaker from my old laptop to a external hard disk and then transferred it into my current laptop. Both are installed in the "Program Files" folder of the C drive. The LaTex documents are stored in the F drive (which k fragmented). Please let me know what to configure in the configures dialogue box if that's causing the error.

Thanks.

• This should compile, apart from a warning about the missing X.tex file (at least for me
– user31729
Jun 7, 2016 at 15:52
• @ChristianHupfer it isn't for me. Please help. What should I configure in the configure dialogue box ?" Jun 7, 2016 at 15:57
• Sorry, I don't use MikTeX etc on Windows
– user31729
Jun 7, 2016 at 15:58
• What happens if you open a command prompt and enter pdflatex? Jun 7, 2016 at 20:59