This simple format trick allows you to to format a virus infected pen drive using command prompt in windows. There may be certain occasions where you cant format you pendrive by right clicking and select format. Because simply the virus script inside the pendrive do not allow such things. If you try to delete the virus file .exe like autorun.exe itself, it may return immediately because the virus program is a tricky one.
> Open command prompt ( start>>Run = "cmd" without quotes )
- Type format<space>"your drive letter" and press Enter twice | in my case,
C:\Documents and Settings\Tomin>format h:
- Now the command prompt setup will verify the file system and ask you to enter a name for your drive - Volume label
- After giving a volume label, press Enter
- You're now done. Happy format