Thanks Mark that's a great tip.

One thing I did find was that if you're using something other Notepad you need 
to put in the full path to the text editor, like this:
"C:\Program Files (x86)\Notepad++\notepad++.exe" 
"C:\Windows\System32\drivers\etc\hosts"

regards,
larry

>Here's another tip on this (cause I have to open my hosts file 20 times a
>week).
>
>Drag the hosts file to the desktop with the left mouse and choose "create
>short cut".
>
>Then right-click on the short cut and choose "properties"
>
>Change the "target" from 
>
>C:\WINDOWS\system32\drivers\etc\hosts
>
>To...
>
>Notepad.exe  "C:\WINDOWS\system32\drivers\etc\hosts"
>
>Then you can open and edit it willy nilly...
>
>-mark
>
>
>Mark A. Kruger, MCSE, CFG
>(402) 408-3733 ext 105
>Skype: markakruger
>www.cfwebtools.com
>www.coldfusionmuse.com
>www.necfug.com
>
>
>
>Run Notepad.exe as Administrator
>Open C:\windows\system32\drivers\etc\hosts (no file extension)
>Add "127.0.0.1 www.mydomain.com" to the last line
>Open web server and configure to route by hostname "www.mydomain.com"
>
>
>Windows (by default) looks to your hosts file for name resolution before
>checking a DNS server.  I do something like this for all of my dev sites.
>
>Sent from my iPhone
>
>On Feb 23, 2011, at 8:52 PM, "Rick Faircloth" <[email protected]>
>wrote: 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to