title: How to edit hosts file via CMD?
body: <p>Hello I'd like to block some websites directly from the command prompt.</p>
  
  <p>echo like this:</p>
  
  <pre><code>0.0.0.0 websitename.com
  </code></pre>
  
  <p>How can I do this? (OS: Windows 7)</p>