-
Poster
@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
-
-
07-30-2003, 05:04 PM
File Sharing -
#12
Forum Star
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.
-
-
07-30-2003, 05:47 PM
File Sharing -
#13
Forum Star
/removeall doesn't seem to work
-
-
07-30-2003, 07:47 PM
File Sharing -
#14
Poster
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
-
-
07-30-2003, 09:36 PM
File Sharing -
#15
Forum Star
-
-
07-31-2003, 07:24 AM
File Sharing -
#16
Poster
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!!! )
-
-
07-31-2003, 07:28 AM
File Sharing -
#17
Poster
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
-
-
07-31-2003, 08:26 AM
File Sharing -
#18
Poster
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
-
-
07-31-2003, 04:09 PM
File Sharing -
#19
Poster
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
-
-
07-31-2003, 11:48 PM
File Sharing -
#20
SP MngR
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks