- Press ( Start or winkey ) -> Run -> cmd.
- If you are at the root directory ( C drive ) then do the following, else give cd.. and come to the root C:\> and do the following.
- Type in ( attrib -h -r -s autorun.inf ), without brackets and press Enter.
- Type ( del autorun.inf ), without brackets and press Enter.
- Follow this for all other drives.
Just follow the below given steps to remove shortcut virus from pen drive and recover back your files.
- Go to Start -> Run -> cmd.
- Go to your pen drive directory.
- Type this command: del *.lnk and press Enter.
- Type attrib -h -r -s /s /d e:\*.*
- And then press a gentle Enter.
You can recover your files through Winrar.
- Open WINRAR Application.
- Navigate to your Pendrive location or PC Folder location.
- Copy Files and Paste where you want.
- Format your Pendrive.