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

Ask a question Amber - Last answered on Sep 6, 2017 at 08:36 PM by ak

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?

plus moins

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.
Was this answer helpful?  
Prajjwal- Mar 7, 2017 at 07:39 AM
Thanks're a lifesaver :D
Abo Treka- Apr 8, 2017 at 02:08 PM
Thank you, it worked!
Vitor Silva- May 14, 2017 at 08:23 PM
Thanks a lot, you saved some changes off my finally project of college

Again thanks.
plus moins
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.
nanda- Jul 20, 2010 at 06:58 AM
still aim not access the folders
plus moins
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
Ambucias 46953Posts Monday February 1, 2010Registration date ModeratorStatus November 21, 2017 Last seen - Jul 16, 2010 at 05:37 PM
Hello jblethal
Your courtesy is admirable, I wish more users were like you.
Best regards

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!