“My data folders are changed to Folder shortcuts”
“All files and folders on my flash/Pen drive are changed to shortcuts”
“I have lost all my data on Pen/Jet drive due to virus, how to recover that?”
I have heard such queries from many people, so thought this might be worth sharing with everyone to avoid risk of loosing data due to virus infection.
If you frequently use Flash / Pen / Jet drives to transfer data from one PC to another, it might happen to you that one of the computers is not protected against virus attacks. Sometimes it might happen that all folders on your pen drive are gone! There are some shortcuts with samename present there and that points to some weired files (usually .scr). No need to panic as you may still recover the data.
Remove the Virus:
First of all, connect your pen drive/Flash drive to a PC that is protected with most updated version of a good antivirus and then scan it. Fix all the virus threats that are detected by the antivirus. Note: If you again connect the flash drive to a computer which is not completely protected by a good antivirus, you may help the virus find its new home!
Recover the Data:
Once all the infected files are removed from the pen drive, go to command prompt (CMD) on your computer and run the following DOS command. Here we assume that the Flash drive is G: drive. If its not G: then replace G with correct letter as applicable.
ATTRIB -H -R -S /S /D G:\*.*
Bingo! You are done! Now check your flash drive. You should have your data present there.
Related Posts:
- How to open a Corrupted Pen / Flash / USB drive
- How to Recover accidently deleted data / Files using iCare
- Best Free / Cheap Online backup service – MozyHome

when i type the command– attrib -h -r -s /s /d H:\*.* , it says ‘attrib’ is not recognized as an internal or external command, operable program or batch file.
what m i supposed to do, the command doesn’t work on my computer
hi there,
when i type the command– attrib -h -r -s /s /d H:\*.* , it says ‘attrib’ is not recognized as an internal or external command, operable program or batch file.
what m i supposed to do, the command doesn’t work on my computer
WHY THE WHEN I ENTER IN CMD ATTRIB -H -R -S /S /D F:\*.* IT SAYS THE FILE NOT FOUND plz respond urgently!!!!!!!!!!!!!!!
yeah…thank you very much…it’s working…:)
what OS are you using? not working for me with my windows 7
(
what task behind the ATTRIB -H -R -S/S/D G:\*.* this command performing
please explain me
It changes the attributes for those files – unhides the hidden files and folders
HI THANX A LOT. I HAD ALL MY DATA LOST FROM PENDRIVE..AND COULD RECOVER EVERYTHING FROM UR CLUE.WONDERFUL SERVICE. THANKYOU VERY MUCH.
Worked ! Thank you bro
Its really helpfull… thnks a lot..
my pendrive infected by virus.so i need to format pendrive.i took backup all the folder into my desktop.after formating pendrive all folders are empty which was in my desktop…give me solution for this..all files are very important.hall tickets for exams
this is amazinf. 2 days of freaking out and i finally got my files back. thank you. love u guys. good bless you.
Hi,
I would like to remove this link http://ringz.doggiehome.com/ from my computer browser , please help me in this regard.
why it doesnt work now? supposedly it works just like before but this time, it did not worked out..
the files is inside but it does not appear but i checked the folder option its already okay.
what should i do?
thanks for shared this info
i use that command, but access denied… what can i do? pls. help me.. send me an answer to my e-mail accnt. thanks..
thanks a billion. saved a lot of data
Wow, this was so nice i had run power data recovery and it was giving me 30 hours to complete scan and recover. THANX ALOT….
use that command, but access denied… what can i do? pls. help me.. send me an answer to my e-mail accnt. thanks..
Thank you soo much it works,
bingo!!!it clicked for me as well…Thanks a lot!!
Thanks for the solution it is work for me……………. ATTRIB -H -R -S /S /D G:\*.*
WOW….AMAZING….THANK YOU GUY….!
That worked perfectly!!! Thank you!
Thanks a lot Man… Its worked perfectly
When i tape the command ATTRIB -H -R -S /S /D G:\*.* it says there is no external or internal command.
What should i do?
IT DISPLAY ATTRIB IS NOT RECOGNIZED AS INTERNAL AND…………………
KE A LEBOGA RALEPONA , THANKS A LOT!!!
Thanx a lot………………….
I tried it but i couldn’t recover my files kindly suggest how to go about it. Its very urgent.
Thanks
Rashmi
Thanks. It worked for me
Not working with window!
Any suggestion?
go to run->cmd; then type that command for ur drive…wait for cmd to finish it(takes some time)..wait till it shows the C:\users\… line again -> NOW go check
Amazing…A big Thanks man..!
It works for me too on windows 7
Through this instruction, i have recovered my corrputed datas from pen drive. Thank you so much.
Hey! Thanks buddy for such helpful piece of information on recovery of deleted files from flash drive. I didn’t
had this idea about this way of recovery of data. So i used this third party recovery software to recover deleted files from flash card. Visit:
http://www.recover-deletedfiles.net/flash-card.html
Awesome Command and I could recover 170+ GB of technical Docs.
Thanks Buddy
I tried the same. But it shows “Access denied” message. How to fix the problem? Actually I had deleted all those shortcuts in linux platform. Plz, help.