WindowsLies/BlockWindows

Add hosts instead of replace the whole hosts file

Closed this issue · 1 comments

I already have some adaptions in my hosts file (Spybot S&D) so your patch would remove those.

can you please rewrite the script so it just adds your blocklist to the file instead of replycing the whole file?

hosts.bat already appends:
%homepath%\Downloads\hosts >> %windir%\system32\Drivers\etc\hosts

>> Appends the command output to the end of a file without deleting the information that is already in the file.