just follow the below given steps to remove shortcut virus from pen drive and recover back your files. How to remove Shortcut virus using cmd ? The Shortcut viruses are those which converts all your data from your pen drive or Hard disk to shortcuts, but they are recoverable. then delete it using the same above method.
Step 5: We have now Successfully found and deleted autorun.inf file from D drive. to do so Type in attrib -h -r -s autorun.inf and press Enter. Step 4: Usually there is Autorun.inf file which you must delete it. Now Check if there is any file or virus that you are not aware of and you think might be Harmful to your PC. It will show all the files of the drive including hidden files. Step 2: Select the infected drive,to do so type in CMD, D: to go to D: drive. Start> all programs> accessories> command prompt. Step 1: Go to start menu and type “ cmd ” in the search box or Follow the below guide only if you think any of your drive is affected with virus or if you think there are some harmful files and you want to delete them.