Re: recursive console search that lists all .doc files

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Hans Kesting (news.2.hansdk_at_spamgourmet.com)
Date: 02/01/05


Date: Tue, 01 Feb 2005 13:09:23 +0100

RML wrote:
> hi guys
>
> i have searched all day and cannot find the code i am looking for. i am new
> to c# so please bear with me ;)
>
> i want to write a console app that simly lists in the console window, all
> files on c: that end with .doc
>
> i had a look at some recursive search code for mp3 files, but it didnt list
> the files, just how many files there were in each directory.
>
> can anyone point me to a nice piece of code?
>
> cheers
>
>

Take a second look at that mp3 search routine:
at some point it has to have a list of (mp3) files.
This routine just returns the count, *you* should
print all names found.
(for printing to console, see Console.WriteLine)

-- 
Hans Kesting


Relevant Pages

  • Qustion about MP3 times as reported by totem plug-in and mplayer
    ... I noticed something really odd with mplayer's information when playing MP3 ... I have lots of these, many organized into m3u play lists, mostly albums. ...
    (GNOME)
  • Re: Convert file names to a usable list?
    ... use the cd command to get to the directory of interest. ... of the artist that contains the actual mp3 file - ie. it only lists the ... only lists the artists not the actual music titles. ...
    (microsoft.public.windowsxp.general)
  • Re: Listing procedures (and code) from an embedded console
    ... Somewhere in my TCL/Tk book there was mention of a ... command you could enter to the console of an application with a TCL ... (lists the body of procedure "procname") ...
    (comp.lang.tcl)
  • Re: Wav file assistance
    ... onto the end of the file...but no dice. ... lists as a winamp file. ... managed to convert the files to .mp3 while simultaneously converting them to ...
    (rec.music.gdead)
  • Re: amd64+gdb -- instant reboot (BETA5 and 4)
    ... It'll be pretty hard to debug otherwise. ... > I tried to set up the serial console today and could not. ... > Is there not a single person on these lists with an amd64 already ... The bug is extremely easy to reproduce ...
    (freebsd-current)