When your folders go missing on your computer or your storage device, or simply created shortcuts in each of them, then they are infected with a virus.
1. Open the Command Prompt. You can find it under "Accessories" or just search for "CMD" on search bar of your Windows computer.
2. Find out in what drive of your computer the virus/shortcut are located. Go to My Computer (for Windows 7 or below) or This PC (for Windows 8 to 10); you'll notice the C, D, E, etc drives.
3. Go to CMD and type in the commands.
For example, the virus is located in "F" drive, then just type attrib-h-r-s / s / df: \ *. *. The F beside the D is your drive; simply change it to where drive the virus is located.
-h: to unhide all files on drive W
-r: create the files in drive W is free of read-only attribute.
-s: making all files on drive W to be not part of the system again, so easy in the clear
f: w drive
*. *: All files ending in
4. Press Enter. The bigger the files, the longer the processing takes.
Wait until you see "C\:Users.." again. It means that drive will unhide all the folders in your drive.
5. Now your Shortcut files again convert to normal files. Delete unknown files from your storage aftercommand process completes. I highly recommend you to after removing shortcut virus copy your USB data to your computer > Format the USB storage > Then again re-copy USB data back.
6. Scan or update your computer. You may also scan your computer with Windows Defender or Microsoft Security essential, too. Make sure that the software is updated.
SOURCE: WIKI HOW