yosoysupercholo

programa HOSTS 2

Nov 1st, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.26 KB | None | 0 0
  1. :: Programa para reemplazar archivo HOSTS
  2. :: Eliminar el archivo hosts y crear uno con el formato predeterminado de Windows
  3.  
  4. @Echo off
  5. pushd\windows\system32\drivers\etc
  6. attrib -h -s -r hosts
  7. echo 127.0.0.1 localhost>HOSTS
  8. attrib +r +h +s hosts
  9. popd
  10. PAUSE
Advertisement
Add Comment
Please, Sign In to add comment