Friday, April 8, 2011

How To Show Hidden Files in MS DOS or Command Prompt


Windows XP's and 2000's Command Console and Recovery console supply limited functionality so most experienced users use a Win9x boot disk when they wish modify a Hidden file from DOS or DOS emulation. The commands used are similar in all cases.


Show Hidden Files at a Prompt
  • DIR /AH C:
      - display hidden files that are on the root of the C: drive
  • DIR /AS C:
      Display system files that are on the root of the C: drive
  • DIR /AR D:
      Display read-only files that are on the root of the D: drive
  • DIR /AHS D:
      Display hidden + system files that are on the root of the D: drive
  • DIR /AHSR C:
      Display hidden + system + read-only files that are on the root of the C: drive
  • DIR /AH /S /P C:
      Display hidden files that are on the C: drive and in its subdirectories:
      (use the /S switch to include all subdirectories)
      (use the /P switch to force a pause after each full screen of information)

2 comments:

  1. You are too advance in technology, I never reached that far. Great tips on how to show hidden files in MS DOS

    ReplyDelete