|"hello hello hello, is there anybody in there..."|
just nod if you can hear me
You don't need to REN; you need to COPY.
And you don't need to MD a directory named HOSTS. If you do you can't have a FILE called HOSTS.
@echo off & setLocal EnableDelayedExpansion
copy HOSTS HOSTS.bkp
>> HOSTS echo 192.168.1.11 somedomain.com #PRE
If at first you don't succeed, you're about average.