Disappearing folders/files

nadun07

Member
Mar 17, 2008
10,852
686
0
http://
For example, a folder having sub-folders and files which are normal unhidden contents. On accessing all or part of folder content not found.

a virus 4 sure bro.. whts da virus guard ur using?? ( scan ur pc with an updated version of kaspersky ;))
 

-Nipuna1989-

Well-known member
  • Sep 3, 2009
    4,877
    585
    113
    MaTaRa
    uba kiyanne win eka dala tiyena partition eke vitarada awula.e kiyanne windows folder hidden welada.machan xp aluthen dapuwama .eka ibe hidden wela tiyenne.e th ban eka remove karaganna puluwanne.

    pahadili karapan ,tawa poddak
     

    mdee

    Member
    Jun 27, 2009
    1,810
    99
    0
    Small Planet
    Solved it, here is the way

    I was shocked to see most of contents in a flash drive were missing which I had accessed a day before. Many experts suggested that virus scan might have cleared it. But I was not convinced. When drive is accessed using command prompt too no different, but I got a clue – it was showing used space of drive properly. From command prompt I was could open a MS-Word doc not shown.

    After a long time I could recall use of dos command and fixed a single file successfully.

    Here is the way:

    Reason: Missing contents were not physically deleted, but got changed as Hidden.

    Some articles suggest that this can be a result of virus known as console.exe specially on Vista OS

    Step to fix:

    1. Click start>run>type in "cmd"
    2. Type the location of your flash drive. For example "f:", "g:", etc. or any valid drive
    3. Type "dir /ah" (this shows hidden files)
    4. Fix single folder/file

    • Type "attrib [name of file/folder] -r -a -s -h"
    • To unhide a file, shall type file name completely with the extension for example “attrib mycat.jpg -r -a -s -h
    • If file name is longer than 6 characters, shall type first 6 characters of file name followed by “~1”. For example customers.sql shall type “attrib custom~1.sql -r -a -s -h
    • Repeat step 4 as necessary
    5. Fix more sub-folders and files can use following
    • type "attrib *.* -r -a -s -h /s /d"
    • Note this can fix files with labels including space in between too
    You can learn more about attrib command, type help attrib at command prompt

    Hope this is useful for you guys