Bonjour à tous et à toutes,
J'ai un script dont je ne peu régler le problème.
>ask.cmd
Please enter your User Name or END. qqqq qqqq
qqqq]==[END] était inattendu.
------ ask.cmd -------------------
@echo off
setlocal
set OK=N
:again
set /p user=Please enter your User Name or END.
if /i [%user%]==[END] endlocal&goto end
if [%user%]==[] goto again
for /f "Tokens=*" %%i in ('net user "%user%" /domain') do call

arse "%%i"
If "%OK%"=="N" goto again
set /p xxx=Press any key to exit.
endlocal
goto end

arse
set ustr=%1
if not "%ustr:~1,9%"=="Full Name" goto end
set ustr=%ustr:"=%
set ustr=%ustr:Full Name=%
@echo Thank you %ustr%
set OK=Y
:end
--------------------------------
Cordialement,
Jean Pierre Daviau
-------
HP Pavilion Elite m9525f Desktop PC
Vista Édition Familiale Premium SP1 64 bits