How do you view a list of hidden files?

  • Thread starter Thread starter Don J
  • Start date Start date
D

Don J

How do you get a directory listing of all the hidden files in directory C: .
Is there anyway of accessing hidden files with Windows Explorer.

Don J

-------------------------------------------------------------------------------------------
 
Don J said:
How do you get a directory listing of all the hidden files in directory C:
. Is there anyway of accessing hidden files with Windows Explorer.

Don J

- Click Start / Run / cmd {OK}
- Type these commands:
dir c:\ /s /ah > c:\files.txt{Enter}
notepad c:\files.txt{Enter}

You will now see the name of every hidden file on drive C:.
 
dir /ah c:\
As for Windows Explorer:
Tools>Folder Options>View>Show hidden files and folders.
Louis
 
The OP requested a command to list all of the hidden files in directory C,
not all files in directory C *and* its subfolders.
Louis
 
Pegasus said:
- Click Start / Run / cmd {OK}
- Type these commands:
dir c:\ /s /ah > c:\files.txt{Enter}
notepad c:\files.txt{Enter}

You will now see the name of every hidden file on drive C:.
The output from the above DIR command will include all sorts of
extraneous information. The /B switch will strip the extraneous info and
provide a simple file list. Try this and note the clean output:

dir c:\ /ah /b /s
 
Back
Top