Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. attrib -r %WINDIR%\system32\drivers\etc\hosts
  2. @ECHO OFF
  3. IF "%OS%"=="Windows_NT" (
  4. SET HOSTFILE=%windir%\system32\drivers\etc\hosts
  5. ) ELSE (
  6. SET HOSTFILE=%windir%\hosts
  7. )
  8. ECHO 127.0.0.1 platform.wondershare.com >> %HOSTFILE%
  9. ECHO 127.0.0.1 activation.cyberlink.com>> %HOSTFILE%
  10. attrib +r %WINDIR%\system32\drivers\etc\hosts
  11. IPCONFIG -flushdns
  12. CLS
  13. ECHO all sites have been added to your hosts file
  14. ECHO.
  15. ECHO Provided by: SadeemPC.com
  16. ECHO.
  17. PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement