title: Open Local HTML file
body: <p>I tried previous questions' answers but it didn't work.</p>
  
  <p>I want to open a local HTML file but it always gives me err file not found.</p>
  
  <p>The HTML code</p>
  
  <pre><code>if (result==11111) {
         window.open('file:///NewMask/tpham.html', "_self");}
  
  }
  </code></pre>
  
  <p>And the properties location of the file:</p>
  
  <pre><code>C:\Users\Charné\Desktop\MADChallenge\NewMask
  </code></pre>
  
  <p><strong>Edit:</strong>
  Okay I updated it:</p>
  
  <pre><code>if (result==11111) {
         window.location="C:\Users\Charné\Desktop\MADChallenge\NewMask\tpham.html";}
  
  }
  </code></pre>
  
  <p>Still gives me ERR_FILE_NOT_FOUND</p>