If exist "C:\Foo\Bar.baz" ( Echo File exist )
This checks if the file C:\Foo\Bar.baz's existence. If this exist, it echos File exist The Not operator can also be added.
Not