check to see whether a file exists in cmd.exe