Search code examples
filecmd

How to find hidden file/&folder with cmd command, whose name I have forgotten?


I've hidden a folder with cmd command using attrib, but I forgot the name of that folder. I know the path. Now, How I can find that hidden folder?


Solution

  • You can get the list of hidden folders using this command

    dir /a    To list all files and folders.
    dir /a:d   for all directories.
    dir /a:h  for all hidden files.