Tuesday, 26 November 2013

RECOVERING HIDDEN FILES FROM PEN DRIVE USING COMMAND PROMPT


The major problem in the pen drive is that content in the pen drive are changing into shortcut files when they are inserted in the college computers or inserting them in virus affected computers. The shortcut or hidden files can be easily restored from the pen drive / memory card by command prompt and the no other software is necessary for to restore them.

The command used are
attrib - displays or changes file attributes.
(+)   Sets an attribute.
(-)    Clears an attribute.
(R)   Read-only file attribute.
(S)   System file attribute.
(H)   Hidden file attribute.
(/S ) Processes matching files in the current folder
       and all subfolders.
(/D)  Processes folders as well.
(/L)  Work on the attributes of the Symbolic Link versus
        the target of the Symbolic Link




I will show both text(with pictures) and videos for  recovering the data from pen drive in two different ways .Follow the steps below

TYPE-1

1. Open command prompt .
go
2.Type the volume in command prompt followed by semi colon

If your affected pen drive is in the volume E then type E:

Example : My pen drive colon is J:
go
so I will type j: in the command prompt
go
The screen of command prompt will look like above

3. Now type the following command in command prompt.(copy and paste)
attrib -r -s -h /s /d
go
Now all your files will be recovered.

TYPE-II

1. open command prompt
go

2. Type the following command in command prompt.
attrib -r -s -h /s /d g:\*.*
Before that find the volume of your pen drive

Example : The volume of my pen drive is j:
go
so i will  replace g: colon by j:
i.e.,  attrib -r -s -h /s /d j:\*.*

Now you pen drive is recovered.
Don't Forget To Join With Our Community
x
+Get this at Think Different