Option 1: Create a desktop shortcut with the following Command Line to
open
HOSTS file in Notepad.
Notepad.exe "%systemroot%\system32\drivers\etc\HOSTS"
Option 2: How to associate Notepad to open files with no
extension:
http://www.winhelponline.com/articles/67/1/How-to-associate-Notepad-t...
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Bloghttp://
www.winhelponline.com/blog
Ramesh,
Thank you very much for this valuable information. Both items worked
as expected.
On your Option 2, I tried substituting a link to PSPad instead of
Notepad, but it didn't work. Should I be able to do this? I changed
this line:
@="Notepad.exe %1"
to this
@="C:\Program Files\PSPad editor\PSPad.exe %1"
Thanks again.