I'm trying to write a batch file to
- Access \sharelocation\folder\file
- Compare that file to c:\folder\file
- If the files are the same, run the local file.
- If the files are different, replace the local file and run the new local file.
I'm stuck on the first part. Is there a good way to do this?
Maybe I can use net
to map the share to a fixed letter if not already mapped then use fc /b
?