<ga******@wmcdirect.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Unfortunately - I have only read access to these remote servers.
I like the idea if I could just put a little program out there to run
time-scheduled and create a nice little text file of all the qualifying
Tif files. If I can't get anything else to work this may have to be
done.
Thanks
Greg
If those boxes are open for WMI queries, you could use System.Management and
WMI's class "cim_datafile"
for instance following query returns all files that have a size > 5000000
bytes from d:\developertools that have been modified since June 5th, 2005
select * from cim_datafile where drive='d:' and path='\\developertools\\'
and filesize > 5000000
and lastmodified > ""20050605000000.000000+000"
When you connect to the remote box, the query is executed by the remote WMI
service and the result is send back to the client when done, running such
query on a remote box is just as fast as on a local box, for instance it
only takes less than 5 seconds to query a complete 40GB disk using next
query.
select * from cim_datafile where drive='d:' and filesize > 5000000
and lastmodified > ""20010605000000.000000+000"
Willy.