If exist productdat del productdat else echo the productdat file is missing. To delete the file productdat from the current directory or display a message if productdat is not found type the following lines in a batch file.

40 Simple Yet Effective Linux Shell Script Examples
If exist temptxt echo found else echo not found.