Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Hosts File Tool

  1. #11
    aldo's Avatar Poster
    Join Date
    Jan 2003
    Location
    In front my PC
    Posts
    63
    @Paul,
    I have updated my HOSTS tool, now supports the command lines:
    /add "fullpath" = merge a new hosts file with an existing one
    /remove [/s] "section name" = remove all the sections that begin with the specified name
    /removeall [/s] = clear the HOSTS file

    /s = silence mode

    Download:
    http://www.aldostools.com/temp/updatehosts.zip

    Notes:
    - The new HOSTS file should include the comments at the begining and at the end of the file.
    - The /remove will add the prefix "#BEGIN of " and "#END of" if the "section name" does not start with #. If the "section name" start with #, the prefix is not used and the "section name" is used instead.

    Example:
    #BEGIN of KL Supertrick 7/30/2003
    127.0.0.1 server1
    127.0.0.1 server2
    #END of KL Supertrick

    #BEGIN of KL Supertrick 8/31/2003
    127.0.0.1 server3
    127.0.0.1 server4
    #END of KL Supertrick

    #KL Sites
    127.0.0.1 server5
    127.0.0.1 server6
    #

    #KL
    127.0.0.1 server7
    127.0.0.1 server8
    #

    /remove "KL Supertick" removes the blocks with servers 1,2,3,4.
    /remove "KL Supertick 8/31/2003" removes the blocks with servers 3,4.
    /remove "#KL" removes the blocks with servers 5,6,7,8
    /remove "#KL Sites" removes the blocks with server 5,6

    ___
    Aldo Vargas
    http://www.aldostools.com

  2. File Sharing   -   #12
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    Great work Aldo!

    Seems to work like a charm B)



    I found a small bug:

    When you add a new host file that contains new entries in a section with the same name as a section that already exists in the hosts file, then it will add the new entries to the hosts file, but without a section around it.

  3. File Sharing   -   #13
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    /removeall doesn't seem to work

  4. File Sharing   -   #14
    aldo's Avatar Poster
    Join Date
    Jan 2003
    Location
    In front my PC
    Posts
    63
    I updated the tool. Same url.

    New:
    - Fixed the /removeall bug. The code was misplaced
    - The comments are not verified by the duplicates filter
    - New command line: /noload (do not load the HOSTS file, to open the program faster)


    ___
    Aldo Vargas
    http://www.aldostools.com

  5. File Sharing   -   #15
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    Works great now.

  6. File Sharing   -   #16
    And don't forget Auto-Update/Auto-Run before startup of KLK++ options or something similar for Hosts Updater. (Maybe merging both Hosts/Bad IP Ranges Updaters together into one??? And include both in KLK++ 2.42!!! )

  7. File Sharing   -   #17
    DarkBlizzard's Avatar Poster
    Join Date
    Jun 2003
    Location
    USA
    Posts
    595
    Originally posted by secfan@31 July 2003 - 02:24
    And don't forget Auto-Update/Auto-Run before startup of KLK++ options or something similar for Hosts Updater. (Maybe merging both Hosts/Bad IP Ranges Updaters together into one??? And include both in KLK++ 2.42!!! )
    This shouldn't be done because the Hosts file isnt like Peer Guardian....its not like it gets updates every 2 seconds...it rarely gets them. Its sort of pointless.

    Here's my little Hosts file site...( Mine and Kazaa Lite's hardly ever get updated , unless someone tells me of a pop-up they got)

    http://www.Geocities.com/Klitehostsfile

  8. File Sharing   -   #18
    ive have some Big Ass Hosts file on my Site, which i used to update all the time, but i dunt anymore, if anyones interested

  9. File Sharing   -   #19
    aldo's Avatar Poster
    Join Date
    Jan 2003
    Location
    In front my PC
    Posts
    63
    I have updated the UpdateHOSTS.exe

    - Faster HOSTS merge from the GUI
    - Changed the "Finding Duplicates" message to "Loading HOSTS...", to make the KL installer activity more clear.
    - Fixed the click event on the new hosts list when the main list has more than 32767 items.

    Donwload: http://www.aldostools.com/hosts.html
    ___
    Aldo Vargas
    http://www.aldostools.com

  10. File Sharing   -   #20

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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