check if file exists cmd 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