1 May 2013

how to block websites with out any software

go to Run command and type below path

c:\WINDOWS\system32\drivers\etc\ and press enter

here you find hosts file open the file in note pad
type as below which site you want to block
for example i want to block facebook
127.0.0.1       localhost  localtdcop1
12.0.0.1(only one space) facebook.com

save the file then open facebook it will getting error...

Thank You

Data Recovery from USB Drive:

If your USB Drive data is deleted or attack with virus its look like as short cut at that time recover the data from your drive as given batch file.....


open note pad write below batch file
@echo off
attrib -h -s -r -a /s /d I(USBdrive path):\*.*
attrib -h -s -r -a /s /d I(USBdrive path):\*.*
attrib -h -s -r -a /s /d I(USBdrive path):\*.*
attrib -h -s -r -a /s /d I(USBdrive path):\*.*
@echo complete.

go to save as on desk top
File name is recovery.bat
one batch file is created on your desk top double click on the batch file, then open your USB Drive, in your drive one folder is created without any name
total your data is stored in that folder
Enjoy...........