PantoffelSlippers
asked on
Confirm files exist on UNC path
Good day exports,
I have a list of about 4000 files distributed across one network (servers and workstations).
For example: \\workstation01\c$\file.xl s
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.
Many thanks
I have a list of about 4000 files distributed across one network (servers and workstations).
For example: \\workstation01\c$\file.xl
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.
Many thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The VBScript I provided is still in use - best solution I found so far - my database is populated with results several times per day and the script just runs.