Hosts File Editing

  • Thread starter Thread starter nr
  • Start date Start date
N

nr

Whenever I edit the Hosts file, I have to do a right-click, Open, then
select the application to open it with. This box does not allow the
'always use the selected program...' option.

Is there any way to get the Hosts file to always open with the same
application? Since it does not have a suffix, I can't tie it to an
application.

Thanks for any help.
 
You can open in by going to Start > Run and typing:

notepad %windir%\system32\drivers\etc\hosts
 
If you want to you can add notepad to the "send to" items and then when you
right click on the host file select send to notepad.
You will need to show hidden files and folders to see the send to menu under
your user name.
Neil
 
Hello, Pepe!

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


You can open in by going to Start > Run and typing:

notepad %windir%\system32\drivers\etc\hosts
 
Hi, Ramesh! Nice to meet you! :-)

--
Microsft MVP
Windows Shell/User


Hello, Pepe!

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


You can open in by going to Start > Run and typing:

notepad %windir%\system32\drivers\etc\hosts
 
Thanks to everyone for their help. The Hosts file is too large for
Notepad, so I added Wordpad to the 'send to' list. Works great.

But, no one answered my original question. Is there a way to tie the
Hosts file with an application, like .doc files are tied to Word
and .xls files are tied to Excel?
 
Thanks to everyone for their help. The Hosts file is too large for
Notepad, so I added Wordpad to the 'send to' list. Works great.

But, no one answered my original question. Is there a way to tie the
Hosts file with an application, like .doc files are tied to Word
and .xls files are tied to Excel?


No, the "association" (which is what having doc files open in Word is
called) is between an application and an extension. There's no way to
do it by file name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

winxp HOSTS file question 4
Open Hosts File ? 10
Best Ways to Convert OST to PDF? 3
Shortcut to 'Edit"? 3
Excell 2021 0
Will not auto open .jpg 1
Destination Host Unreachable 2
How to convert a .msg File? 2

Back
Top