If not exist <path><filename> goto :none
[code to executed]
goto :end
:none
echo File does not exist - no action taken
:end
If you want to get fancy, you can keep the message on screen for x number of seconds and exit automatically. For immediate termination, simply type exit following :end