http://www.allthingsmarked.com/2007/05/01/howto-get-instant-access-to-the-hosts-file/
The HOSTS file is a file used to map IP addresses to domains. There are many uses for it — my favorite it to block ad servers. The HOSTS file has no extension, so you can’t associate a program with it automatically to open it all the time. Instead, you can create a shortcut that calls a text editor of your choice to open it.
Create a desktop shortcut with the following program path to open the HOSTS file in Notepad:
notepad "c:\windows\system32\drivers\etc\hosts"
Create a desktop shortcut with the following program path to open the HOSTS file in WordPad:
"c:\program files\windows nt\accessories\wordpad.exe" "c:\windows\system32\drivers\etc\hosts"
If you want to auto-open it in any other editor, just change the first path to the program editor’s main executable.
Once you have your shorcut, rename it to hosts and drop it in C:\windows\ so you can run it from the Run box by entering in hosts and hitting enter
Search in uioop.blogspot.com
Labels
- Adobe CS4 (1)
- Affiliate Program (1)
- Android (7)
- Android Emulator (1)
- ASUS (1)
- browser (1)
- BT (1)
- Cloud Free Trial (1)
- Cyber Cafe (1)
- dual boot (1)
- Email (1)
- EXCEL (6)
- forex broker (1)
- free vpn (1)
- Gaming (1)
- GRUB (1)
- Hardware (4)
- IE (3)
- Inkscape (1)
- IP Camera (1)
- kaspersky (2)
- Linux (31)
- Lotus Notes (6)
- MacOS (9)
- MSSQL (2)
- MT4 (1)
- network (2)
- online torrent client (1)
- open source (1)
- OpenOffice (1)
- Oracle (1)
- PSU (1)
- regedit (10)
- remote desktop (1)
- RunDLL32 (1)
- SAMSUNG (1)
- Screen Recording (1)
- Server 2008 (6)
- Teardown (1)
- torrent (2)
- torrent client (2)
- Ubuntu (3)
- USB (1)
- virus (2)
- vista (7)
- Website (1)
- windows (1)
- windows 7 (10)
- Windows PE (1)
- WINPE 3.0 (1)
- xp (25)
- xp CMD (2)
- 注册表 (7)
- 線上教學 (1)
Blog Archive
-
▼
2007
(213)
-
▼
July
(6)
- How to troubleshoot Internet Connection Shariang P...
- Block access to Web sites with the Route command i...
- HOWTO: Get Instant Access to the HOSTS file
- HOWTO: Block websites using the HOSTS file
- PC Wireless Networking: Connect and Configure a Wi...
- HOWTO get a wireless router talking to your ADSL r...
-
▼
July
(6)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment