Unhide Files in Virus Infected Pendrive Using Command Prompt

Nowadays almost everyone uses USB flash memory's like pendrives for transferring data,movies,games etc.. The only disadvantage of using this kind of memory is that most of these Flash memory's have write protection or virus protection in it.
If there's a virus on your USB drive that hide all your file and folders,creates exe file extensions of your folders and even may corrupt your files.You can view these files by going to Tools>>Filder Options,but the attributes of these files often stay unchanged even if you uncheck hidden attribute on file/folder properties.

One sure way to retrieve your file or folder attributes back to unhidden is to use command prompt in windows.Just follow the below steps.

STEP 1:
Plug your pendrive to the computer. Make sure it is detected.

STEP 2:
Start command prompt by Click Start>>Run and type cmd then hit enter.
STEP3
Find the drive letter for the conected USB drive. For example,
I:
In command prompt, type
I:
Then type
attrib -s -h /s /d *.*
Do not forget to put space between each elements in the code.
hit enter,wait for a moment this should unhide all your files on your pendrive.See below to get it clear.

No comments: