# "Permission Denied" from running the Index.html from a Notepad++ edit

**URL:** <https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677>\
**Category:** ChoiceScript Help\
**Created:** [October 23, 2017, 5:38pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677 "2017-10-23T17:38:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LightningGarfunkel](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lightninggarfunkel/32/123341_2.png) [@LightningGarfunkel](https://forum.choiceofgames.com/u/LightningGarfunkel)\
**Post date:** [October 23, 2017, 5:38pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/1 "2017-10-23T17:38:29Z")

</div>

I’m having trouble with editing ChoiceScript with Notepad++ when I open and edit the code (within the workplace) with this program and run the index.html file it comes up with a “Permission denied” error without any extra info.

This does not occur if I use the basic Notepad and once I use Notepad++ the only way that I have discovered which allows my to fix this is to delete the entire choice script folder, reinstall it and paste the code into the basic Notepad…

Is this an encoding error? Am I just being a clown? Is something bamboozling me?

Many thanks for and replies.

Edits -

- As a note I’ve been using internet explorer to test my code,
- Fixed it,
- I’m not opening the html file with Notepad, only the .txt scene files,

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [October 23, 2017, 5:41pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/2 "2017-10-23T17:41:23Z")

</div>

Umm… actually, when writing (or creating, making, whatever) a game, you don’t need to edit the `index.html`.

Your workplace is on `.../mygame/scenes/` directory and you only edit all the .txt files inside.

* * *

> [@LightningGarfunkel](#):
>
> Edit -
> 
> As a note I’ve been using internet explorer to test my code

Well, there it is. Firefox is the only way to test the code, currently.

---

<div class="post-metadata">

**Author:** ![LightningGarfunkel](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lightninggarfunkel/32/123341_2.png) [@LightningGarfunkel](https://forum.choiceofgames.com/u/LightningGarfunkel)\
**Post date:** [October 23, 2017, 5:42pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/3 "2017-10-23T17:42:49Z")

</div>

ah no no I wasn’t editing the index file 😅

I was running that because that was how I’ve been running my code for tests. I’ve been editing my scene .txt files don’t worry about that.

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [October 23, 2017, 5:43pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/4 "2017-10-23T17:43:55Z")

</div>

🤖  
_\*perfect facepalm_

---

<div class="post-metadata">

**Author:** ![LightningGarfunkel](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lightninggarfunkel/32/123341_2.png) [@LightningGarfunkel](https://forum.choiceofgames.com/u/LightningGarfunkel)\
**Post date:** [October 23, 2017, 5:57pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/5 "2017-10-23T17:57:49Z")

</div>

ah I fixed it - turns out that somehow after I use Notepad++, Windows 10 “blocks” the index.html file… just had to unblock it in the file properties.

Thanks anyway Szaal 😃

---

<div class="post-metadata">

**Author:** ![Snowpanther](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/snowpanther/32/16473_2.png) [@Snowpanther](https://forum.choiceofgames.com/u/Snowpanther)\
**Post date:** [October 23, 2017, 6:00pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/6 "2017-10-23T18:00:27Z")

</div>

You don’t need to open the index file with Notepad to test your game, really.

Just open it with Mozilla Firefox.

---

<div class="post-metadata">

**Author:** ![LightningGarfunkel](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lightninggarfunkel/32/123341_2.png) [@LightningGarfunkel](https://forum.choiceofgames.com/u/LightningGarfunkel)\
**Post date:** [October 23, 2017, 6:05pm UTC](https://forum.choiceofgames.com/t/permission-denied-from-running-the-index-html-from-a-notepad-edit/31677/7 "2017-10-23T18:05:38Z")

</div>

ack, did you think the same @Szaal ? is that why you perfectly facepalmed?

Sorry I should have been clearer but in my sleep deprived state I thought I was making perfect sense, sorry.

I’m running the index.html file with internet explorer (instead of firefox) I’m not opening it with Notepad. Not editing the index.html file at all…

in any case I’ve fixed it 😃
