View Single Post
  #21  
Old April 6th 18, 04:00 PM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default can't edit hosts file?

In message , slate_leeper
writes:
On Thu, 5 Apr 2018 22:22:59 +0100, Good Guy
wrote:

On 05/04/2018 20:04, J. P. Gilliver (John) wrote:


could be a user rather than a process.


Yes it's a user who has very serious demented brain.


(I think bad guy has a mirror.)

To edit a host file you need to drag it to your desktop (i.e. move it)
and then edit it. after editing it, drag it back to its original location.

Voila it works. It wasn't difficult was it, old man?



I have always edited it directly in the original location, but since I
change it fairly often, I now have a link to it on the desktop, and
open it with right-click "Open with notepad."

Me too. Well, I have a shortcut to NotePad+, with hosts as a parameter
(i. e. the shortcut's Target line is
C:\Windows\Notepad+.exe C:\WINDOWS\system32\drivers\etc\hosts. [and its
startup line is %HOMEDRIVE%%HOMEPATH%, though that's probably not
necessary]). That saves the right-click and open with step.


--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

Veni Vidi Vacuum [I came, I saw, It sucked] - , 1998
Ads