Resolved! Check file exists
What's the best way to check that a file exists?I notice there is no built in check for this, so what do most people do?Is it best to just execute "if not exists" and exit with a non zero code?Example:if not exist C:\windows\regedit.exe exit /b 1