I'm trying to set up an arara user command in TeXstudio. I've been following this very helpful little tutorial that can be found as an answer the following question:
The only issue I have is that I can't seem to get the syntax for the user command correct on Windows. The closest to working that I can get is:
This does open arara, but then I get the error:
I'm sorry, but the command from the 'PDFLaTeX' task could not be found. Are you sure the command 'pdflatex "lecture3.tex"' is correct, or even accessible from the system path?
Note that the source tex file (lecture3.tex) has the command % arara: pdflatex at the top. Do I need to tell TeXstudio where to find pdflatex even though it's in the same folder as arara? This is all using MiKTeX on Windows.

lecture3.texis? can nyou compile it with normalpdflatexon the command line? – daleif Jun 03 '16 at 09:08lecture3.texand runarara lecture 3.tex, arara and the pdflatex it calls work fine. – Shane Jun 03 '16 at 09:23arara.exefile inC:\Program Files (x86)\MiKTeX 2.9\miktex\bin(with a.exeextension)? I don't use Windows, but arara is a Java application, so it comes as a.jarfile. When you runararafrom the command line, it might actually be invokingjava -jar /path/to/arara.jar. – Nicola Talbot Jun 04 '16 at 10:56arara.exefile there. Judging from the error, the issue is not thatararaisn't opening, but rather that when it does it cannot findpdflatex.exe, despite the fact that it's in the same folder asarara.exe. Perhaps it is looking for it in the folder where the.texfile is -- this is my suspicion. – Shane Jun 04 '16 at 12:05pdflatexis on your path,ararashould find it. What version ofararaare you using? (I can't find that error message in the resource files for the current version.) – Nicola Talbot Jun 04 '16 at 12:19arara.execomes with MiKTeX but the preset rules, includingpdflatex.yamldon't. I'll create a corresponding answer. Thanks to all for your help. – Shane Jun 05 '16 at 03:13