From: Julio Cesar Garcia Alvarez <jcgarciaa@bt...> - 2011-07-21 15:11:15
recently I have changed the Miktex software version from 2.8 to 2.9. At this
instance, the following error message have appeared when I tried to build my
"Error: I cannot write on file genbib.bat".
This error did not appear at 2.8 version. In fact, I have returned to
version 2.8, without any similar error afterwards. I though that perhaps the
OS would be the problem, but the problem stills for either Win7 or WinXP. I
have used WinEdt and TexnicCenter as Tex--editors, with the same result.
Thanks in advance for your commentaries, collaboration or some solution
about this problem.
--Julio Cesar García A.
Am Thu, 21 Jul 2011 09:48:56 -0500 schrieb Julio Cesar Garcia
> Dear colleages,
> recently I have changed the Miktex software version from 2.8 to 2.9. At this
> instance, the following error message have appeared when I tried to build my
> urithesis-based document:
> "Error: I cannot write on file genbib.bat".
It would be much easier to help you if you would have given a link
to your class together with a minimal document.
Your class is trying to write during the compilation a batch file
which contains the needed bibtex runs:
Miktex prevents this. There is no problem if the extension is e.g.
changed to "txt". So miktex is obviously doing it for security
reasons. You can get around this restriction by setting an
environment variable (set MIKTEX_ALLOWUNSAFEOUTPUTFILES=1) but I
think it would be better if your template finds another way.