I want to use the command \write18 with shell or other excutables rather than only a restricted list of programs as it says here: https://tex.stackexchange.com/a/20446/92620
How can i bypass the restrictions set on \write18 to execute external/shell from documents ?
EDIT:
I got this line from the log file:
runsystem(cmd.exe)...disabled (restricted).
\documentclass{report}
\immediate\write18{cmd.exe}
\begin{document}
...
\end{document}
pdflatex(or other engine) with the-shell-escapeoption. – egreg May 23 '16 at 19:49-shell-escapesame as with--enable-write18i believe it's double hyphen --pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex, shell didnt run. @Bernard TexMaker – Cfun May 23 '16 at 20:01--enable-write18switch forpdflatex? – Bernard May 23 '16 at 20:20auto-pst-pdfand pstricks files. Could you post a minimal (non-)working example? – Bernard May 23 '16 at 20:35