Till now i have posted various tricks on hiding your content in your PC, but as a computer user and a tweaking guy, you should also know how to check if any file or folder is hidden in someone else's PC or not?
these commands may also come in handy when you too forgot the name of file or folder that you hide!
so lets begin..
Viewing hidden files with dir command
The above command will list all hidden files and hidden directories in the directory that you are currently in.
Lists all hidden files in the directory that you are currently in.
Lists all files and directories including hidden files and hidden directories in the directory that you are currently in.
Viewing hidden files with 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.
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.
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.
these commands may also come in handy when you too forgot the name of file or folder that you hide!
so lets begin..
Viewing hidden files with dir command
- dir /ah
The above command will list all hidden files and hidden directories in the directory that you are currently in.
- dir /ah-d
Lists all hidden files in the directory that you are currently in.
- dir /a
Lists all files and directories including hidden files and hidden directories in the directory that you are currently in.
Viewing hidden files with attrib command
- attrib
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.
- 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.
- attrib *.log
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.