How do you view a list of hidden files?

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

-------------------------------------------------------------------------------------------
 
P

Pegasus \(MVP\)

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:.
 
3

3c273

dir /ah c:\
As for Windows Explorer:
Tools>Folder Options>View>Show hidden files and folders.
Louis
 
3

3c273

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
 
M

mhc

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top