Thanks for this Herfried - I think I am getting their with this, in fact I
have achieved what I want to do in regard to finding the files. I am placing
these in a treeview, and my main problem now is omitting the directory
entries from the treeview where no large files exist. I will play with this
and ask the gorup if I cannot get it sorted.
Many thanks
Paul Bromley
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ef*****************@TK2MSFTNGP12.phx.gbl...
Paul,
"Paul Bromley" <fl*******@dsl.pipex.com> schrieb:I have 2 directories on a drive 0-499 and 500-999. Within these
directories are subdirectories - e.g. 1, 2 ,3 ..... 501,502 etc. There
are a series of files in these subdirectories. What I would like to do is
search these directories and display files above a certain size. Is there
an easy way of doing this in VB.NET??
Take a look at the classes in the 'System.IO' namespace, namely 'File',
'FileInfo', 'Directory' (and its 'GetFile' method), and 'DirectoryInfo'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>