need help rgd flash drive!

ahamednishadh

Active member
  • Sep 17, 2006
    4,896
    8
    38
    34
    Sri Lanka => Colombo => Colombo 06
    hey guys. need sum help.

    ive got a 4GB flash drive(kingston).

    sumtime back(around 2 weeks) i got a virus in it. i cleared all the viruses and also re cheacked for any viruses for around 5 times and found no other viruses. and then later i found that i cant find n e of my files. BUT in the properties window of my flash i can c dat 2GB used and 1.8GB free space. but i cant c n e files in my explorer window. i even treied using sum data recovery softwares but no results.

    n e one know wat da problem is and hw i can get my files back?? i have da backup of da files in it but they r a old version and da modyfied one is there in da flash.

    pls help me!
    thanks in advance!!!!!!!!!!
     

    zCexVe

    Active member
  • Sep 12, 2006
    8,550
    22
    38
    Where I'm now
    then goto pendrive.If pen drive is X
    X: <-|

    <-|=enter

    attrib <-|

    then you will see what files are with what attributes .
    S=System
    H=Hidden
    R=Readonly

    to get those use command
    attrib <filename> -S -H -R <-|

    remeber to use tab to select filename.Then u will have folders selected too coz tab does the cycling through the file names.
    In this way you can set to see all the files and folders.
    Any problems put it here.
     

    nabil

    Member
    Mar 4, 2007
    7,320
    1
    0
    34
    North Carolina / Kandy
    alternative or more simplified to zCexVe:
    note the drive letter for ur flash drive. say for example f:
    go to da command prompt and type:
    f:
    and hit enter
    and then type:
    attrib -s -h /s /d
    and all ur files will be there. short n sweet ;)
     

    nabil

    Member
    Mar 4, 2007
    7,320
    1
    0
    34
    North Carolina / Kandy
    zCexVe said:
    hey nabil,you need to add -R too.And note that if virus is still there in most cases your command will not work sometimes.
    hmm i always recovered my files n deleted the viruses without using -R
    -R is to disable read only. (i think) which dusnt matter in this case.
    yea sum viruses deny access to the flash drive totally. otherwise if u do that u can even delete the virus because it is not a system file anymore.
     

    zCexVe

    Active member
  • Sep 12, 2006
    8,550
    22
    38
    Where I'm now
    Ya macho -R is for read only.Machan there is a moded code virus that usually do this thing that will lock attributes,so that it will stop command when command try to change attri: of virus.If you removed attri: from virus and del it 1st then no probs.Your command is 100% right :D
    It usually is attrib[path][filename][switches] ne.
    + add attri
    - remove attri
    R read only
    S system
    A archieve
    S system
    /s files
    /D directories
    neda?