How to recover data from memory or pen drive

which show space but no data Step 1: Open run (Win+R ) Step 2:Type cmd Step 3:Note down the memory name (Like H,G etc)Here it is G Step 4:Type G:(Your drive name) Step 5:Type the code attrib -s -h /s /d *.* Now the datas are recovered.