I want to edit a apalike.bst to suit my bibliography style requirements.
The path of this file on my Windows OS is:
C:\Program Files (x86)\MiKTeX 2.7\bibtex\bst\apalike.bst
I made a copy of it, named myapalike.bst. I used notepad to open it and made the required changes. Then, while saving it, it showed a warning "Access is denied". And the changes were not saved.
myapalike.bst? Are you maybe trying to save it to a directory for which you have no write access? – Mico Dec 29 '16 at 09:09tlmgr conf. Have a look for the variableTEXMFLOCALand store your newly created file in there. Second: if you have write permissions to C:\Program Files (x86)\MiKTeX 2.7\bibtex\bst and store your file there, it might not be found by LaTeX/BibTeX, as long as you don't update the TeX-systems database. – Jan Dec 29 '16 at 09:33C:\mylocaltexmf\bibtex\bst\myapalike. Instead ofC:\mylocaltexmfyou can use whatever location you want. It only should be outside of the miktex trees, and be writable by you. Then addC:\mylocaltexmfas a new root with miktex-settings. – Ulrike Fischer Dec 29 '16 at 12:57