Hello All, i wish to know how to add a sentence to host file using the batch file.
echo 127.0.0.1 localhost >> "%systemroot%\system32\dri
But everytime i double click this batch file. Instead of going to the next sentence of the host file, it will just add next to the last line of the host file. example:-
After i double click the host file above it will become:-
But i want the 127.0.0.1 localhost to be at the next sentence. Isst possible?
Please advice me.