How to find the file hidden through cmd prompt.

Solved/Closed
nandanaathrey1992 Posts 1 Registration date Tuesday 13 January 2015 Status Member Last seen 13 January 2015 - 13 Jan 2015 à 13:52
KY_WD Posts 2053 Registration date Thursday 23 October 2014 Status Member Last seen 28 February 2017   - 23 Aug 2016 à 10:09
Hi,

I have hidden a folder in my external hard disk, I know where I have hidden it and I even know the folder name which I have hidden but the thing is I have forgot the file path, for clear picture of the scenario am facing am just explaining with a scenario.

Eg: I have hidden a folder named x89 in drive E: like (E:a\d\f\x89) where x89 is the folder am looking for.

but I have forget the file path like as explained above E:a\d\f\ so please help me to find that out now.
Related:

1 response

KY_WD Posts 2053 Registration date Thursday 23 October 2014 Status Member Last seen 28 February 2017   122
14 Jan 2015 à 03:25
Hello nandanaathrey1992,

You could try one of the following options:
1. Type dir /ah - this command will list all hidden files and hidden directories in the directory that you are currently in.
2. Type dir /ah-d
3. After that type dir /a and Enter

Also, you could try viewing hidden files with the attrib command. Typing the attrib command alone displays all files in the current directory with their attributes to the left of the directory path and file name. Files that have an "H" to the left are hidden files.

So here the options are:
1. attrib | more - if there are too many files to list on one page adding "| more" to the end of the attrib command displays all files with attributes one page at a time.
2. After that type attrib *.log
3. Finally, if you know the name of the file you're looking for or what it contains, adding it with or without wild characters displays all files with their attributes.
For example, the above command would list any log file (including hidden files) with its attributes.

Hope that I helped.

KY_WD
thanks for help sir
KY_WD Posts 2053 Registration date Thursday 23 October 2014 Status Member Last seen 28 February 2017   122 > kjhk
23 Aug 2016 à 10:09
I am very happy that I helped! :)