SeeWhyAnEyeSee

A program that blocks websites.

Jun 27th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. @echo off
  2. cd c:\windows\system32\drivers\etc
  3. del hosts
  4. echo 0.0.0.0 www.thewebsiteyouwanttoblock.com >> hosts
  5. echo 0.0.0.0 www.thewebsiteyouwanttoblock.com >> hosts
  6. echo 0.0.0.0 www.thewebsiteyouwanttoblock.com >> hosts
  7. REM And do the same thing if you want to block more websites
  8. REM ------------------------------------------------------
  9. echo Save it as Blockwebsite.bat
  10. echo Run it as administrator
  11. echo After you run it the changes will take place so you don't have to run it next time.
Advertisement
Add Comment
Please, Sign In to add comment