in reply to Opening a locked file for reading

you might also try some other work arounds. I'm no expert, but maybe give this a try: use the system to copy the file to a new file, then read the copy. You might also give command line redirection a try, but that in itself is pretty quirky in DOS.