# How To Show Hidden Files In Windows 10 Using Command Prompt

**URL:** <https://onehack.st/t/how-to-show-hidden-files-in-windows-10-using-command-prompt/167479>\
**Category:** Tutorials & Methods\
**Tags:** privacy, tips-tricks, windows, file-management\
**Created:** [December 26, 2020, 2:36pm UTC](https://onehack.st/t/how-to-show-hidden-files-in-windows-10-using-command-prompt/167479 "2020-12-26T14:36:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [December 26, 2020, 2:36pm UTC](https://onehack.st/t/how-to-show-hidden-files-in-windows-10-using-command-prompt/167479/1 "2020-12-26T14:36:18Z")

</div>

_Although we can show hidden files using the keyboard shortcut and GUI interface, however, if you are not a fan of Windows graphical file explorer and prefer to use a command line, then using that unhide files is possible as well._

Most of the time, especially those who are into system security and development they use the command line interface to go through various files and directories. And to get reconnaissance of all files and folders, we need to unhide hidden files. This can be very helpful in various situations such as while having some virus that makes duplicate copies and hides them so that users could not see them with default settings of **Windows 10/8/7/Vista/XP.**

## Command to unhide files & folder on Windows 10 using CMD

- Open **Command Prompt (CMD).**
- Go to the **folder/directory** where you want to unhide all hidden files.
- After that type `attrib -H -S`  
**-H** for Hidden and **-S** for System attribute set.
- To show all hidden subfolders recursively and along with directories themselves then use  
`attrib -H -S /S /D`  
**/S** for all Sub-folders and **/D** for Directories.
- In case you want to remove hidden settings from all the system folders and files available inside a Drive, use `attrib -H -S J:\*.* /S /D`
- **Note** : In the above command **J:** is the Drive letter and in that Drive, we want to unhide all files and folders.
- To unhide files from some particular folder, the command will be  
`attrib -H -S J:\folder-path\*.* /S /D`
- Replace **J:\folder-path** with your drive and folder path.

 ![Show-hidden-files-using-command-line-on-Windows-10](https://onehack.st/uploads/default/original/3X/a/9/a9fe6b3cd6f1438bf761e15b58c6b1667b2bfe63.jpeg)

`Source: how2shout`

**Happy learning!**
