Pen drive show empty even when data exists [Solved/Closed]

- Jul 24, 2012 at 09:58 AM - Latest reply:  xyz
- May 17, 2018 at 12:18 PM
i am using transcend 4 gb pendrive.when I insert this pendrive in any computer,it shows the occupying space.but when I open it .it shows it is empty.i have very important data in that .please help me to recover that data.
See more 

509 replies

Best answer
Registration date
Sunday June 6, 2010
Last seen
December 30, 2015
- Updated by Jeff on 24/03/17 at 09:39 AM
Thank you

Try this 1

Check if the files are not in hidden mode.

Click on "Start" -->Run --> Type cmd and press Enter.

Here I assume your pendrive drive letter as G:

Enter this command.

attrib -h -r -s /s /d g:\*.*
--> Press Enter

You can copy the above command --> Right-click in the Command Prompt and

paste it.

Note : Replace the letter g with your pen drive letter.

Now check your pen drive for the files.

Good Luck

Thank you, jack4rall 1197

Something to say? Add comment

CCM has helped 1662 users this month

OMG!!!! please take my humble thanks
Thank you
attrib -h -r -s /s /d g:\*.*

really really great thanks
worked very fine




Thank You very much
It really works
Registration date
Friday January 15, 2016
Last seen
May 14, 2016
> Kancha - Feb 11, 2016 at 04:49 AM
reply to my email address i have something important to discuss with you; i will tell you more about me when you contact me
oh my works.thank you
Thanks this command was really helpfull
Thanks a lot it's really woking my problem almost solved
Thank you
I am still finding it as path not found ***@***
I had lost my files from my pendrives but through this I had recover my files.
Thnk u very much really
It really works
Thank you
Still Not Working, Please Please Help Me.......
Thank you
Thanks a lot 'jack4all' . Great command.
Thank you
thanks it works
execellent its working
great dude, its amazing
Registration date
Monday August 18, 2014
Last seen
June 27, 2015
- Aug 22, 2014 at 11:16 AM
thanx ......
i tried the same code but I end up with this error:

file not found - G:\*.*

note that G: is my drive's name..pls help..i've been struggling this problem the whole day..i have my 16gb drive.after formatting it, it became 4mb even attrib command is not working..

thanks in advance
Thank you
thx yr...the cmmnd recovrd ol my data dt ws really imptnt...thx a lot buddy...
- Feb 10, 2014 at 09:45 AM
Thank you
Thanks, its really work and you are great. You have saved precious data of many peoples.
Thank you
Thanks a lot it really works, BTW what was the issue and how this soln works.
Thank you too get it :)
God bless you mate.
Thank you
Thank You!!!
Good Command.
thanks its working
- Aug 11, 2013 at 04:30 AM
Thank you
many many problem solved
Thank you very really worked.
Thank you. frm Prasad T
thank you mr. kailash.thanx a lot
Awesome jack really worked well....thank you so much
thanks buddy
Thank you
Thank you so much!!! You saved my usb!
It was very helpful. Thank you very much :)
Thank you
thanks a worked...very simple and helpful command
Thank you
thnks a lot..:) its really helpfull..:)
it worked. thanks
it worked thanks
Thanks Lot . I got all the information in my pendrive.
Thanks it's working....
Thank you so much it worked, you just saved me
Thank you
thanks a lot sir & madam
It worked ........
Thank u very much...
Wow! works like magic. Many thanks for this key.
really worked got all the files thanks
Thank you
Thanks a lot. You are great.

Pradip Bhattacharya
Thank you
Thank you so much it works!!!
Thank you
thanks a lot...i got my all imp datas.... god bless u :-)
Thank you
Thanks a lot

I got Promotion of this one matter
it's works boss
thankss it really works
have no tried yet but hope that it will work
Thanks so much Bro it really nice
thank u bro its really fabulous n working can I knw why?
1 2 3 Next