After installing MiKTeX and TexMaker, I tried using TexMaker to create a simple first script. When I tried to compile it using PdfLaTeX, I got an error message saying:
Could not start the command.
pdflatex -synctex=1 -interaction=nonstopmode %.tex
When looking on StackExchange for a solution, I stumbled upon the solution of indicating the path to the
pdflatex.exe file in the configurations of Texmaker. It was indicated this file would be at
C:\Program Files\MiKTeX 2.9\miktex\bin\x64. But there was no such file. The best I could find was
miktex-pdftex.exe. I tried inputing
"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-pdftex.exe" -synctex=1 -interaction=nonstopmode %.tex
in the PdfLaTeX field instead, which resulted in the same error.
Could a problem be that I tried rerunning the MikTeX installer before looking the problem up (and changed the installation from single user to all users)?