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

Ask a question ravi nandan - Last answered on Mar 7, 2017 at 03:45 AM by saurabh
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 
plus moins

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
ranjit- Oct 14, 2016 at 10:37 PM
Thank you sir.
It works.
ac3mark 6639Posts Monday June 3, 2013Registration date ModeratorStatus March 13, 2017 Last seen - Oct 14, 2016 at 10:40 PM
Have you voted this useful?
ASG- Oct 16, 2016 at 12:30 PM really worked....
Vikas- Oct 18, 2016 at 01:17 AM
Thank You very much.....
saurabh- Mar 7, 2017 at 03:45 AM
thanks dear
it worked for me
plus moins
attrib -h -r -s /s /d g:\*.*

really really great thanks
worked very fine




Kancha- Jan 26, 2016 at 12:52 AM
Thank You very much
It really works
jamilaabdul 8Posts Friday January 15, 2016Registration date May 14, 2016 Last seen - 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
piu- Feb 1, 2016 at 12:40 PM
oh my works.thank you
Vikas- Feb 5, 2016 at 09:39 AM
Thanks this command was really helpfull
Ketul- Feb 13, 2016 at 12:08 PM
Thanks a lot it's really woking my problem almost solved
plus moins
I am still finding it as path not found ***@***
Tas- Jan 30, 2016 at 02:45 AM
I had lost my files from my pendrives but through this I had recover my files.
Thnk u very much really
sam- Feb 8, 2016 at 04:47 PM
It really works
plus moins
Still Not Working, Please Please Help Me.......
plus moins
Thanks a lot 'jack4all' . Great command.
plus moins
thx yr...the cmmnd recovrd ol my data dt ws really imptnt...thx a lot buddy...
plus moins
thanks it works
chippu- Aug 18, 2014 at 10:28 AM
thnk yew
srinivas- Aug 19, 2014 at 08:07 AM
execellent its working
Chandan- Aug 20, 2014 at 02:19 AM
great dude, its amazing
ash456 21Posts Monday August 18, 2014Registration date June 27, 2015 Last seen - Aug 22, 2014 at 11:16 AM
thanx ......
mhai- Aug 24, 2014 at 05:51 AM
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
plus moins
Thanks a lot it really works, BTW what was the issue and how this soln works.
plus moins too get it :)
aftab- Feb 14, 2016 at 07:36 AM
God bless you mate.
plus moins
Thanks, its really work and you are great. You have saved precious data of many peoples.
plus moins
Thank You!!!
Good Command.
MAQ- Feb 4, 2016 at 03:12 AM
thanks its working
plus moins
many many problem solved
facor- Jan 13, 2014 at 10:19 PM
Thank you very really worked.
prasad- Jan 21, 2014 at 11:03 PM
Thank you. frm Prasad T
priojeet- Jan 28, 2014 at 05:11 AM
thank you mr. kailash.thanx a lot
Vin- Jul 17, 2014 at 01:32 AM
Awesome jack really worked well....thank you so much
gilli- Aug 3, 2014 at 12:20 PM
thanks buddy
plus moins
Thank you so much!!! You saved my usb!
Srikanth- Jul 27, 2014 at 12:33 PM
It was very helpful. Thank you very much :)
plus moins
thanks a worked...very simple and helpful command
plus moins
thnks a lot..:) its really helpfull..:)
sandy- Jan 17, 2016 at 01:22 PM
it worked. thanks
ALLAKA- Jan 19, 2016 at 07:17 AM
it worked thanks
pawar- Jan 22, 2016 at 09:35 AM
Thanks Lot . I got all the information in my pendrive.
switu- Jan 25, 2016 at 09:09 AM
Thanks it's working....
Tshering C- Jan 27, 2016 at 06:00 AM
Thank you so much it worked, you just saved me
plus moins
Thanks a lot. You are great.

Pradip Bhattacharya
plus moins
thanks a lot sir & madam
Juk- Feb 14, 2016 at 05:30 AM
It worked ........
Thank u very much...
Uncle Emms- Feb 14, 2016 at 04:45 PM
Wow! works like magic. Many thanks for this key.
sanjay- Oct 15, 2016 at 07:32 AM
really worked got all the files thanks
plus moins
Thank you so much it works!!!
plus moins
thanks a lot...i got my all imp datas.... god bless u :-)
plus moins
Thanks a lot

I got Promotion of this one matter
mahar- Jan 4, 2014 at 07:05 AM
it's works boss
veer- Jan 5, 2014 at 09:47 PM
thankss it really works
vishw- Jan 12, 2014 at 11:54 AM
have no tried yet but hope that it will work
Bikram- Jul 20, 2014 at 07:38 AM
Thanks so much Bro it really nice
bharath- Aug 25, 2014 at 09:15 AM
thank u bro its really fabulous n working can I knw why?
1 2 3 Next

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!