BLACK BURN HACKER. Powered by Blogger.

Real Money Instantly


Monday, December 19, 2011

Quick edit for your hosts file


Open notepad and paste in the code below, then save as hosts.vbs and save it inside your windows directory.
Then all you need to do is type start -> run and type “hosts.vbs” and it will fire up your windows hosts file inside notepad
Set Sh = WScript.CreateObject("WScript.Shell")
On Error Resume Next
sOStype = Sh.RegRead(_
If Err.Number<>0 Then
Wscript.Echo " This doesn't appear to be an NT-like operating system;" _
& vbcrlf & "on Win9x use sysedit or msconfig."
Set FSO = CreateObject("Scripting.FileSystemObject")
dirConfPath = "%SYSTEMROOT%\System32\"
On Error Resume Next
Sh.Run "Notepad " & dirConfPath & "drivers\etc\hosts"
End If

©2011, copyright BLACK BURN


Post a Comment


7 Years Earning Experience

The Earning Source You Can Trust

Follow by Email