# LaTeX 'Cannot execute this comand'

working first time with TeX, installed TexNicCenter and MikTeX. I got some .tex files which i want to convert to .pdf just to make sure everything is installed properly and it works so i can stark working on the TeX thing.

Problem: I chosed Latex -> Pdf as my profile and entered each option as told by my professor in his screenshot.

LatexCompiler: `C:\Program Files\Miktex\miktex\bin\pdflatex.exe` Arguments for the compiler: `-interaction=nonstopmode -max-print-line=120"%wm"`

BibTex Compiler: `C:\Program Files\Miktex\miktex\bin\bibtex.exe` Arguments: "%bm"

MakeIndex Compiler: `C:\Program Files\Miktex\miktex\bin\makeindex.exe` Arguments: "%bm"

When using this profile on an existing .tex file this happens: Adobe Reader opens, says he couldn't find the selected file, another error occurs stating that it wasnt possible to execute the command "%bm". Yes i googled for that (http://latex-community.org/forum/viewtopic.php?f=31&t=6897), but those solutions don't help me. Also, in the ouptut-log box in the bottom of texniccenter it says, that there are 0 error and 0 warnings. However it also says, that pdflatex has a bad file descriptor and bibxtex and makeindex couldn't open their needed .aux and .idx files.

What can i do here to make the given .tex files run properly?

-

## migrated from stackoverflow.comAug 15 '13 at 11:06

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.SX! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Martin Schröder Aug 15 '13 at 20:03

I know this may not be the solution you're looking for, but you might want to try TeXworks, it's got a built-in pdf reader, so you can see right away if your file generated. That way you'll know if the problem is your compiler, or your tex editor or your adobe.

-