Showing posts with label MS DOS. Show all posts
Showing posts with label MS DOS. Show all posts

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)

Tuesday, March 29, 2011

How To Delete Hidden Files In DOS

Some files may not be seen of DOS command. Maybe its hidden by the administrator or the person who are using it. Hiding a file may have a reason. Sometimes you will hide because you don't want others to see it bcause its complicated, hiding it because you don't want others to discover it or hiding it because you have your black propaganda to that person (maybe a virus to that computer).

Well here is the simple steps in unhiding those files and delete it.



First, you have to go to START menu and click on the Run Command

Then type CMD or Command the press enter

Go to the drive where you want to.

Example: C:\users\admin

Then you want to look if the folder has a hidden file. Just type Attrib -H (H attrib will show all the hidden files in that particular folder)

Then the hidden files will be visible and from there you can delete it with the command DEL [filename you want to delete]

And your done.