Here i going to tell the Permanent Solution for recovering hidden files by Command prompt in windows operating system.
Step One:
Plug your USB Pendrive or External HDD or Memory Card which is Affected.
Step Two:
Go to Start -> Run-> Type CMD and Enter
Step Three:
Find the drive letter for the connected USB drive. For Example, I:
In command prompt, type I:
and Hit enter. Command Prompt will show I:/
Step Four:
Then type
attrib -s -h /s /d *.*
Make sure that you put space between each elements in the code.
and hit enter and wait for few seconds.
Check the Screen Shot of Above Steps:

Now check your USB pendrive you can see your files are back in their locations.
tested po yan mga sir by me...yung nagka virus na trj yung external hdd ko nawala yung mga mahahalagang files ko...sinalpak kc sa ibang pc yung external hdd ko
pagsalpak ko sa laptop ko nadetect agad ng avast ko si trojan kya move agad sa anti virus chest si trj..
problem di ko makita at di ko maopen mga files ko naisip ko wag muna iformat kc madami ako files na mahalaga talaga..
kaya ito ginawa ko 100%tested po yan
sana makatulong
thanks po sa pag view....
Step One:
Plug your USB Pendrive or External HDD or Memory Card which is Affected.
Step Two:
Go to Start -> Run-> Type CMD and Enter
Step Three:
Find the drive letter for the connected USB drive. For Example, I:
In command prompt, type I:
and Hit enter. Command Prompt will show I:/
Step Four:
Then type
attrib -s -h /s /d *.*
Make sure that you put space between each elements in the code.
and hit enter and wait for few seconds.
Check the Screen Shot of Above Steps:

Now check your USB pendrive you can see your files are back in their locations.
tested po yan mga sir by me...yung nagka virus na trj yung external hdd ko nawala yung mga mahahalagang files ko...sinalpak kc sa ibang pc yung external hdd ko
pagsalpak ko sa laptop ko nadetect agad ng avast ko si trojan kya move agad sa anti virus chest si trj..
problem di ko makita at di ko maopen mga files ko naisip ko wag muna iformat kc madami ako files na mahalaga talaga..
kaya ito ginawa ko 100%tested po yan
sana makatulong
thanks po sa pag view....