A.
Is there a DOS command to block/unblock a specific domain (like www.game.fr)?
I would like the same/similar result as adding/removing this line
127.0.0.1 www.game.fr
in this file
c:\windows\system32\drivers\etc\hosts
Ref: http://forums.winamp.com/showthread.php ... ost2067327
B.
If I use this basic way:
Code: Select all
echo 127.0.0.1 www.game.fr>>"c:\windows\system32\drivers\etc\hosts"
how to target and remove the added line (using DOS commands) to unblock the domain later?
Thanks and regards