This is very cool trick and very useful because of many pendrive users are tried to Autorun virus and .exe extensions file virus.So, follow all the step and clean virus in your pendrive easily:
All the steps are here:
1. First connect your penderive and do not open it by using autorun.
2. Open Run and type cmd and Press Enter.
3.In the Command Prompot, Type the your pendrive path (Pendrive Path you can check it from your computer)and then press Enter.
4. Then, type dir/w/o/a/p and press Enter and it will display list of files and directory.
5. Now, in that list search for virus files such as .
and other file with .exe Extension.
6. If it contains any of the files above file then type attrib -h -r -s -a *.* and press Enter.
7.Delete each of that file using delete Command
Syntax : del filename
Example: del Autorun.inf