topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 3:55 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Host Editor 7 - Hassle free host editing for Win7-XP  (Read 8719 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Host Editor 7 - Hassle free host editing for Win7-XP
« on: July 18, 2011, 09:17 AM »
15:03:50 - me: anyone knows a host editor app that works under windows 7
15:04:51 - me: fed up trying to first find the hosts file, then not being able to save because I again forgot to run notepad with admin privileges.

Code: Autohotkey [Select]
  1. ; HostEditor7 - Host Editor that runs under windows XP to windows 7.
  2. ; Requires AutoHotkey v1.0.92.01+ and Windows XP or higher (untested)
  3. SetWorkingDir %A_ScriptDir%
  4. if not A_IsAdmin
  5. {
  6.    Run *RunAs "%A_ScriptFullPath%"
  7.    ExitApp
  8. }
  9. Run, notepad.exe %A_WinDir%\system32\drivers\etc\hosts

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: Host Editor 7 - Hassle free host editing for Win7-XP
« Reply #1 on: July 18, 2011, 10:41 AM »
Thanks!  :Thmbsup:

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Host Editor 7 - Hassle free host editing for Win7-XP
« Reply #2 on: July 19, 2011, 05:08 AM »
You could also try HostsMan. I have used it a bit.
The Help file is well worth a read. The program is full of handy features - e.g., restore the Hosts file to an earlier version or the system default if you've really mucked things up.

This is from the Readme file:
HostsMan 3.2.73
© 1997-2010 abelhadigital.com

Website: http://www.abelhadigital.com/
Forum  : http://forum.abelhadigital.com/
Email  : [email protected]

Portions of this software are Copyright (c) 1993-2004, Chad Z. Hower (Kudzu)
and the Indy Pit Crew - http://www.nevrona.com/Indy/
Portions of this software are Copyright (C) 1999-2003 Mathias Rauen,
www.madshi.net, All Rights Reserved
Portions of this software are Copyright (c) 1999-2006  Jan Goyvaerts,  All
rights reserved. - http://www.regular-e...ons.info/delphi.html
Portions of this software are Copyright (c) 1999-2006 Mike Lischke, All rights
reserved. - http://www.delphi-gems.com/
Portions of this software are Copyright (c) 2008, Primoz Gabrijelcic

SUPPORTED OPERATING SYSTEMS:
----------------------------

     Microsoft Windows 98 SE
     Microsoft Windows ME
     Microsoft Windows 2000
     Microsoft Windows XP
     Microsoft Windows Server 2003
     Microsoft Windows Vista
     Microsoft Windows Server 2008
     Microsoft Windows 7
     Microsoft Windows Server 2008 R2


LEGAL DISCLAIMER:
-----------------

     Please read license.txt.


Unzdll.dll AND ZipDll.dll INFO:
-------------------------------

     Author  : Chris Vleghert and Eric W. Engler
     Website : http://www.geocities...Valley/Network/2114/
     Email   : [email protected]
« Last Edit: July 19, 2011, 05:12 AM by IainB »

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Host Editor 7 - Hassle free host editing for Win7-XP
« Reply #3 on: July 20, 2011, 03:21 AM »
Nice solution if you want a bit of extra functionality!

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Host Editor 7 - Hassle free host editing for Win7-XP
« Reply #4 on: July 20, 2011, 10:51 PM »
Nice solution if you want a bit of extra functionality!
@justice: Yes, it's pretty specialised.
I came across it a while back whilst experimenting to see if I could use the hosts file to get the same level of anonymity, targetted ad-zapping, cookie avoidance/spoiling, and reduced bandwidth utilisation as I had been able to get with JunkBuster years ago.
No go though.      :(

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: Host Editor 7 - Hassle free host editing for Win7-XP
« Reply #5 on: July 21, 2011, 05:53 PM »
I just keep a shortcut to my hosts file on my Quicklaunch, passing it as a command line parameter to Notepad2. Just have to remember to uncheck/check "Read Only" under the file menu before and after making any changes.