How can I make a folder show that I hid using the ‘attrib filename’ command if I forgot the file name?

tank May 19, 2011
Pinterest Stumbleupon Whatsapp

I locked my folder with this command: attrib filename +s +h

Now I forgot the file name and I’m not able to figure it out. Is there any other way to unlock it? I also tried ‘attrib -s -h’, but without folder name it’s not workig.

Ads by Google

  1. Tina
    May 22, 2011 at 5:04 pm

    Tank,

    did you try any of the solutions above and did one work for you? Please update us. Thank you!

  2. Anonymous
    May 20, 2011 at 10:47 am

    The following script allows both to hide files
    and folders:
    Attrib +h +s Y:.* /s /d
    Exit

    the following script cancels the operation
    Attrib -h +s Y:.* /s /d
    Exit

    attrib
    http://www.answers.com/topic/attrib

    lets say if a virus infects with super hidden
    Click Start-Program-Accessories-Command Prompt And type :
    attrib -s -h /s /d then press enter
    Example: c:>foldername> attrib -s -h /s /d
    Explain:
    -S =Clears System file attribute.
    -H =Clears Hidden file attribute.
    /S =Processes matching files in the current folder and all subfolders.
    /D= Processes folders as well.

    Find Hidden
    is a portable freeware that allows you to search and find hidden files and folders on your Windows computer quickly and easily.
    http://majorgeeks.com/Find_Hidden_d6781.html

  3. Mike
    May 19, 2011 at 5:10 pm

    I assume we are talking about Windows?
    If you know where the folder was located just open a command line, navigate to the folder/directory and then use the following command:
    attrib /S /D | find "  H"
    This will list all files and folders with the hidden attribut
    There are 2 spaces in front of H to prevent listing of files or folder where 'h' is somewhere within the name or after a single space
    If you don't know the location anymore you could output all hidden things into a textfileattrib C:*.* /S /D | find "  H" >C:hidden.txt