Files on flash drive changed to shortcuts [Solved/Closed]

-
Hello,

I caught a virus on my flash drive at work and it appears to have changed all my file names to short cuts. I believe I've cleaned the virus but how do I get my files back so that I can view them?

See more 

2 replies

Best answer
approved by Jean-François Pillou on Nov 26, 2018
Posts
6499
Registration date
Sunday June 6, 2010
Status
Moderator, Security contributor
Last seen
October 6, 2019
2107
602
Thank you
Hello,

If you did not format your flash drive, then check whether the files are not in

hidden mode.

Click on "Start" / Run / type
cmd
and click on OK.

Here I assume your pendrive as G:

Enter this command.

attrib -h -r -s /s /d g:\*.*


Note : Replace the letter g with your flash drive letter.

Say "Thank you" 602

Glad we were able to help! Love us? Write us a review! Rate CCM

CCM 5805 users have said thank you to us this month

Thank you so much!
Thanks It worked
didnt work for me :( still see all the weird symbols instead of english names of flash drive and files
Worked, thank you, you are a life saver!
58
Thank you
In addition to steps suggested by jack4rall you need to del the files that get listed after

attrib -h -r -s /s /d g:\*.* 

del g:\ [file name]


sometimes you get a message " Process completed , file sharig violation" while trying to delete a file.

In that case you can install a software called "Who lock me?" (search in the google) and install the same.

You can kill the process and delete the file. Make sure to create a folder in the file name you have deleted so that the virus may not be able to creep into the drive once again.
still aim not access the folders