Reply
Old January 4th, 2009 Top | #1
 
greatg's Avatar
OSNN Junior Addict
Joined: January 2004
Posts: 17
Reputation: 10
Power: 102

Question Editing the Hosts file

Running Vista 32 bit. Have deactivated UAC and trying to edit the Hosts files located in C:\Windows\System32\drivers\etc. I'm using notepad to make the changes. When I try to save, I get a message "C:\Windows\System32\drivers\etc\hosts file. Make sure that the path and file name are correct. " When I try to save in a different location, notepad only allows me to save as .txt? Is there some way to save as per original file extension?
greatg is offline   Reply With Quote
Old January 4th, 2009 Top | #2
 
Johnny's Avatar
Paul Reed Smith
Joined: January 2004
Location: Happy Valley
Posts: 4,869
Reputation: 2369
Power: 173

Default Re: Editing the Hosts file

The host file is a txt file, per-se. Using a notepad and saving it with out changing the ext on it will allow you to save it.

Paul Reed Smith.
Johnny is offline   Reply With Quote
Old January 4th, 2009 Top | #3

OSNN Folding Team  
Steevo's Avatar
Spammer representing.
Joined: September 2004
Posts: 2,566
Blog Entries: 2
Reputation: 1630
Power: 136

Default Re: Editing the Hosts file

Originally Posted by Johnny View Post
The host file is a txt file, per-se. Using a notepad and saving it with out changing the ext on it will allow you to save it.
This will also make it invalid and the backup copy will be moved in.


Right click it and change permissions on your account to allow full control.

Meow.
Equal oppertunity hater.
Steevo is offline   Reply With Quote
Old January 5th, 2009 Top | #4
 
Johnny's Avatar
Paul Reed Smith
Joined: January 2004
Location: Happy Valley
Posts: 4,869
Reputation: 2369
Power: 173

Default Re: Editing the Hosts file

If you right click on it and select edit. Then just save it, it will save as default. The point I was trying to make.

Paul Reed Smith.
Johnny is offline   Reply With Quote
Old January 10th, 2009 Top | #5

OSNN Folding Team  
kcnychief's Avatar
█▄█ ▀█▄ █
Joined: April 2005
Location: Massachusetts
Posts: 16,949
Reputation: 4941
Power: 305

Default Re: Editing the Hosts file

What you have to do is open Notepad first, as administrator. Go to the start menu, type in "notepad" in the search box and it should display Notepad in the top section. Right-click on the icon for Notepad, choose "run as administrator". Once you have it open that way, go to File, Open and browse to the hosts file.

There may be an easier way, but that's the only way I've been able to do it.

XBOX Live Gamertag: kcnychief
kcnychief is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOSTS file not being read muzikool Windows Desktop Systems 15 January 30th, 2009 8:45pm
Microsoft DNS resolver not looking at hosts file fitz Windows Desktop Systems 11 March 9th, 2007 4:40am
HOSTS file help... sidefx Windows Desktop Systems 1 September 23rd, 2004 5:42pm
Bearshare & HOSTS File Problems??? sidefx Windows Desktop Systems 0 August 3rd, 2004 7:47pm
HOSTS file to block ads (got a good one??) PsychoSpongeBob Windows Desktop Systems 2 March 24th, 2002 2:11pm