Jump to content

How do you view a list of hidden files?


Recommended Posts

Posted

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

 

-------------------------------------------------------------------------------------------

  • Replies 5
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: How do you view a list of hidden files?

 

 

"Don J" <dej8801@comcast.net> wrote in message

news:DN6dnUPVo8zzMnjbnZ2dnUVZ_hqdnZ2d@comcast.com...

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

Posted

Re: How do you view a list of hidden files?

 

dir /ah c:\

As for Windows Explorer:

Tools>Folder Options>View>Show hidden files and folders.

Louis

 

"Don J" <dej8801@comcast.net> wrote in message

news:DN6dnUPVo8zzMnjbnZ2dnUVZ_hqdnZ2d@comcast.com...

> 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

>

> --------------------------------------------------------------------------

-----------------

>

>

Guest Pegasus \(MVP\)
Posted

Re: How do you view a list of hidden files?

 

I think you omitted the /s switch from your command.

 

"3c273" <nospam@nospam.com> wrote in message

news:fc4es2025bn@enews2.newsguy.com...

> dir /ah c:\

> As for Windows Explorer:

> Tools>Folder Options>View>Show hidden files and folders.

> Louis

>

> "Don J" <dej8801@comcast.net> wrote in message

> news:DN6dnUPVo8zzMnjbnZ2dnUVZ_hqdnZ2d@comcast.com...

>> 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

>>

>> --------------------------------------------------------------------------

> -----------------

>>

>>

>

>

Posted

Re: How do you view a list of hidden files?

 

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 (MVP)" <I.can@fly.com> wrote in message

news:uPImQa$8HHA.536@TK2MSFTNGP06.phx.gbl...

> I think you omitted the /s switch from your command.

>

> "3c273" <nospam@nospam.com> wrote in message

> news:fc4es2025bn@enews2.newsguy.com...

> > dir /ah c:\

> > As for Windows Explorer:

> > Tools>Folder Options>View>Show hidden files and folders.

> > Louis

> >

> > "Don J" <dej8801@comcast.net> wrote in message

> > news:DN6dnUPVo8zzMnjbnZ2dnUVZ_hqdnZ2d@comcast.com...

> >> 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

> >>

>

>> -------------------------------------------------------------------------

-

> > -----------------

> >>

> >>

> >

> >

>

>

Posted

Re: How do you view a list of hidden files?

 

Pegasus (MVP) wrote:

> "Don J" <dej8801@comcast.net> wrote in message

> news:DN6dnUPVo8zzMnjbnZ2dnUVZ_hqdnZ2d@comcast.com...

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

>

>

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


×
×
  • Create New...