The way to do that is by checking %ERRORLEVEL% value after cd
command was executed:
cd A:\rr\Br 2> NUL
if %errorlevel% equ 0 (
echo folder found
) else (
echo folder not found
)
If the value is 0, CD was correctly executed and current directory be changed; otherwise (errorlevel==1) the drive or directory does not exist.
The 2> NUL
part is to avoid that the error message appear in the screen.