Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: host files

  1. #11
    Senior Member
    Join Date
    Oct 2005
    <ip> <host>
    i.e. localhost

    woops! thanks to Tedob1 for catching this one. posting right when ya wake up leads to stupid mistakes.
    meh. -ech0.

  2. #12
    Senior Member
    Join Date
    Nov 2001
    write the below line in notepad, save it as hosts.bat in your search path. remember to change notepads defaulf file type from ".txt" to "all". now when ever you want to block a site open the run box and enter 'hosts &lt;badsite&gt;.com' and it will be automatically appended to your hosts file



    echo %1 &gt;&gt;c:\windows\system32\drivers\etc\hosts


    the %1 gets changed to the first argument after the batch file name when you run it.
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.