@echo off
if %1.==. goto error1
howbout %1 >NUL
if errorlevel 1 goto error2
status The file or dir or drive you gave exists.
goto end
:error1
status Please specify a batch file parameter.
goto end
:error2
status The file or dir or drive you gave doesn't exist.
:end
