This question already has an answer here:
I'm trying to install the elsarticle class manually on MiKTeX 2.9 (Windows) from the
.ins file. However, when I type
latex .\elsarticle.ins, I get the following:
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9) entering extended mode ! I can't write on file `elsarticle.log'. Please type another transcript file name:
When I type any other file name, I keep getting the same error.