I have a bunch od auxiliary files in the directory of tex file after compiling each tex document. I simply want to generate a build folder in this directory to store all the auxiliary files. I run through a lot of posts.
For example in the following:
Global setting to prevent latex from generating additional files with TeXStudio
it is said that pdflatex -aux-directory=aux %.tex can solve this.
But the question is where exactly I need to type this command in TeXstudio?
When I append this:

I receive an error.
All I need is to clean this mess:

arara, it willcleanextra files for you if you specify their extension i.e.log,toc– JamesT Mar 25 '23 at 13:55