Created
November 5, 2014 01:19
-
-
Save shadyvb/caf765a0e9bd6a037b16 to your computer and use it in GitHub Desktop.
Batch to block certain websites on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "127.0.0.1 facebook.com" >> %Windir%\System32\drivers\etc\hosts | |
echo "127.0.0.1 myegy.to" >> %Windir%\System32\drivers\etc\hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment