Let's say I have a list of files (files.txt
), which looks like:
\\myshare\file1
\\myshare\file2
\\myshare\file3
How is it possible to check via a batch script (windows) to check if those files exist and output this? I tried with if exists \\path\file
, but it always tells me that the path can not be used syntactically at that point.