To make my latex folder clean, I tried to hide all auxiliary files with the following DOS command:
attrib +S +H *.aux
......
attrib +S +H *.toc
But when I tried to compile my latex file again, xelatex
and pdflatex
in MiKTeX threw the following error:
I can't write on file `somename.aux'.
Is it possible to enable xelatex
and pdflatex
to write on auxiliary files, while these files remain hidden?
BTW: I don't want to put auxiliary files to other folder, since this way causes other problems.
+S
?+S
sets thesystem file
attribut, perhaps only writable/removable if the application (in this caseTeX
) is run by the administrator or has administrator rights, which is probably not true when you run MikTeX as normal user. I can not test my proposition since I do not work on Windows, its just a remembrance back to 1996, when I used DOS commands for the last time, before switching to Linux ;-)+S
, and the result was the same.*.aux
etc. files are writable at all?.aux
file with text editor, modified and saved it. No problem.texmf.cnf
tex.stackexchange.com/a/198631/1871 . There must be an equivalent file in MikTeX