I have a small issue with miktex portable and texmaker that is driving me nuts. Everything works fine except for one tiny little thing.
Once miktex opens and is in my system tray, I can start texmaker and search for the tex file I wish to edit, or drag and drop the file inside texmaker. If however I double click on the file itself (which I have set to open with texmaker), texmaker is unable to compile it throwing the error:
Could not start the command. "../texmfs/install/miktex/bin/pdflatex.exe" -synctex=1 -interaction = nonstopmode %.tex"
If I now close texmaker and reopen it empty and then search for the file by clicking "File -> Open" then it works fine again!