|perhaps a lazy option|
title="Enter Your Password and hit enter to Unlock secure folder"
if %pass% equ 123456 goto success
echo Invalid password
if you are interested in a vbs script that may be a better route
message edited by mikelinus