|i learn batch in school and now im stuck. i want to create a little batch to prank my friend by adding and deleting entry in the Hosts file.now this is work to add things but i can't delete it. I must go erease Hosts file manually. |
ECHO 127.0.0.0 www.google.com>>C:\windows\system32\drivers\etc\hosts
ok this work well
But when i want to delete this entry it wont work
ECHO Delete 127.0.0.0 www.google.com>>C:\windows\system32\drivers\etc\hosts
Can you help me please
Sorry for my bad english!