Now a days viruses are comes from usb flash drives, so here is tip to protect your usb flash drives and computer from viruses.
Just follow these simple steps and delete viruses from usb flash drives without affecting your system.
Here are steps:
1). Connect your usb flash drive and do not open it by using autorun.
2). Open Run and type cmd and press enter.
3). In the Command Prompt, Type the drive letter of your usb flash drive(you can check it from my computer) and then press enter.
4). Type dir/w/o/a/p and press Enter.
It will display list of files.
5). Now in that list search for virus files like:
any other files with .exe Extension . *
6). If it contains any of the files above file thentype attrib -h -r -s -a *.* and press Enter.
7). Delete each of that file using delete Command
del filename (For exaple: del autorun.inf )
Now you can scan your usb flash drive with any good antivirus and then can open it without affecting your system.