Is there any way to test whether a file is accessible from within a
batch file?
ie I may want to process a file but can't because it locked by another
process. I'd like to check for its accessibilty before starting to
process it as that action will fail.