I need to automate the .tex compilation files, but I don't want to write down the path in pdflatex in console. Also I will not use the graphical user interface for this purpose. I need commands that can make pdflatex compiler work with the path which files I need to compile automatically. restricted \write18 enabled
pdflatex <path>
. It is still unclear to me where your problem lies. Please edit your question with a detailed description of what you tried and how it fails.