how to check if a file exists command-line code example
Example: find out wheter a file exists cmd
if exist C:\myprogram\file1.extension ::Do something
if not exist C:\myprogram\file2.extension ::Do something else
if exist C:\myprogram\file1.extension ::Do something
if not exist C:\myprogram\file2.extension ::Do something else