Confirm files exist on UNC path
Posted on 2013-11-15
Good day exports,
I have a list of about 4000 files distributed across one network (servers and workstations).
For example: \\workstation01\c$\file.xls
I have sufficient rights on relevant servers and workstations. I'm looking for an easy script (.bat file or something) that just tests whether each file exists and returns true/false or yes/no or 1/0 whatever.
Workstations are on/off the network at various times of day so whatever script I write will need to be run via windows task scheduler or something similar several times a day and results written to a database or appended to text file.
Please make recommendations or samples.