please help
in the same batch The first statement work fine while the second doesn’t, it gave the following error message "logon failure unknown user name or bad password"
i am using the same user id and the same password. please help.

cd\
c:
cd ntreskit

:statement 1
echo 123456|su attiahia "command line"

:statement 2
set su_username=attiahia
set su_password=123456
su "%comspce% command line"

thank you