I need a automatic bat file to check if a file is on my pc

so i need a bat script to check if there is a .bak file on my oc the file is called data.bak and i dont really know how i can make it so it checks if it is on my computer can someone plzz help me

Something along the lines of

if exist Bunny.jpg (
	echo File exists
) else (
	echo File does not exist
)
pause

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.