# Error trying to install "Error opening file for writing anki-console.bat"

**URL:** <https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060>\
**Category:** Help\
**Created:** [September 27, 2023, 7:13pm UTC](https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060 "2023-09-27T19:13:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reachoutandtouch](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@reachoutandtouch](https://forums.ankiweb.net/u/reachoutandtouch)\
**Post date:** [September 27, 2023, 7:13pm UTC](https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060/1 "2023-09-27T19:13:33Z")

</div>

This error appears when I try to install the latest Anki (2.1.66 Qt6)

---

<div class="post-metadata">

**Author:** ![Shigeyuki](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/shigeyuki/32/23878_2.png) [@Shigeyuki](https://forums.ankiweb.net/u/Shigeyuki)\
**Post date:** [September 27, 2023, 7:22pm UTC](https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060/2 "2023-09-27T19:22:12Z")

</div>

Perhaps run as administrator will solve the problem.

---

<div class="post-metadata">

**Author:** ![reachoutandtouch](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@reachoutandtouch](https://forums.ankiweb.net/u/reachoutandtouch)\
**Post date:** [September 27, 2023, 7:38pm UTC](https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060/3 "2023-09-27T19:38:34Z")

</div>

Thanks for the help. I installed it in a different directory and it worked. I wanted it in Program Files but I guess hidden in the bowels of AppData will have to do.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [October 27, 2023, 7:38pm UTC](https://forums.ankiweb.net/t/error-trying-to-install-error-opening-file-for-writing-anki-console-bat/35060/4 "2023-10-27T19:38:52Z")

</div>

Closed on October 27, 2023, 7:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
