|"2) Find the computer on the network, go to Logfile.txt|
and find 2010-02-16 in it."
I'm a little confused, are you trying to trying to find a
text document on the network or the local drive
If your trying to access the file from the network
computers you will need the share name not the local name
of the file(i.e \\%%Z\nameofshare\Logfile.txt) or a share
mapped to a drive letter.
Other than that this would be my guess(provided you actually
want the local file):
FOR /F %%Z IN (LIST.TXT) DO (
for /f "skip=2 tokens=1* delims=," %%a in ('find "2010-02-16" "C:\Program Files\PirateProgram\Logfile.txt"') do (
>>C:\batchfiles\testing\results.txt echo %%Z %%a