TeXStudio could not start command (ProTeXt)

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:

\documentclass[12]{article}
\begin{document}
Blah
\end{document}


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?

• 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 Sep 27 '12 at 3:51
• I edited my post. It does not matter what I put in my document. – CodeKingPlusPlus Sep 27 '12 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 Oct 14 '12 at 13:38

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 Oct 26 '12 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

and

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.