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

- Jul 12, 2010 at 04:29 PM - Latest reply:  Ausaf
- Apr 28, 2018 at 06:45 AM

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 

27 replies

Best answer
Registration date
Sunday June 6, 2010
Security contributor
Last seen
December 30, 2015
- Jul 13, 2010 at 09:45 AM
Thank you

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.

Thank you, jack4rall 581

Something to say? Add comment

CCM has helped 1640 users this month

Thanks! you saved all my files
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
Thank you
Hello, I'm not trying to interfere with your conversation, but I have the same problem. I did do a full scan on the drive with Superantispyware on the external drive and it deleted all the shortcuts that were on the external drive (assuming that it thought the shortcuts were viruses). I do have another external drive that is infected and was wondering if there is any other way to fix it. I usually have no problem fixing these viruses but this one has been a headache from hell. Thanks for any help or advice. JB
Registration date
Monday February 1, 2010
Last seen
November 16, 2018
- Jul 16, 2010 at 05:37 PM
Hello jblethal
Your courtesy is admirable, I wish more users were like you.
Best regards