I am running Windows 7 and I have installed the ProTeXt package. I am using MiKTeX and TeXstudio however my TeXstudio seems not to work as I get the following error message:

Error: Could not start the command: "texstudio_Hp6136".ps

This is all of my text in my file:


Then I hit F1 (Quick Build) and I actually tried all the other buttons for latex and DVI and pdflatex.

What is/could be wrong with TeXstudio?

  • 1
    Welcome to TeX.SE! Have you tried running pdflatex myfile.tex from the command line? A minor point- dfrac will need the amsmath or mathtools package to be loaded...
    – cmhughes
    Commented Sep 27, 2012 at 3:51
  • I edited my post. It does not matter what I put in my document. Commented Sep 27, 2012 at 4:52
  • Please, post an image showing your Options>Configure>Commands window from TeXstudio. Probably you have to setup the right path for the executable files.
    – Sigur
    Commented Oct 14, 2012 at 13:38

2 Answers 2


In TeXStudio menu choose OptionsConfigure TeXStudio, select Quick Build, option pdfLaTeX + pdf Viewer.

  • Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you.
    – henrique
    Commented Oct 26, 2012 at 23:15

In addition I would like to propose,

option >> configure >> commands>> Latex >> "C:\Program Files\MiKTeX 2.9\miktex\bin\latex.exe" -src -interaction=nonstopmode %.tex


PdfLaTex>>"C:\Program Files\MiKTeX 2.9\miktex\bin\pdflatex.exe" -synctex=1 -interaction=nonstopmode %.tex

in some cases it works as the editor finds the miktex directory.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .