[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 497
  • Last Modified:

Windows Command Prompt, and hidden files

When performeding a 'dir', what arguments do I give the 'dir' command to view all hidden (or kind of hidden files or more importantly, sub-directoires
0
Anthony Lucia
Asked:
Anthony Lucia
  • 2
2 Solutions
 
pcelbaCommented:
Hidden files and folders:
DIR *.* /AH

System files and folders:
DIR *.* /AS

Also works:
DIR *.* /AHS
0
 
Nathan RileyFounder/CTOCommented:
The command will list all hidden files and hidden directories in the directory that you are currently in.
dir /ah

Lists all hidden files in the directory that you are currently in.
dir /ah-d

dir /a
Lists all files and directories including hidden files and hidden directories in the directory that you are currently in.
0
 
pcelbaCommented:
Maybe the most important command is:

DIR /?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I agree - this is answered simply by typing DIR /?
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now