User:QHand/Sandbox
Appearance
ECHO OFF COLOR 0A
TITLE PASSWORD CHANGER
CHDIR %HOMEDRIVE%\
:A
SET /p N=Account name:
SET /p M=New password:
ECHO This is completely irreversible.
ECHO Are you sure you wish to continue? [Yes/No]
SET /p A=
IF /I A == YES GOTO B
IF /I A == NO EXIT
ECHO ERROR
PAUSE
EXIT
:B
NET USER %N% %M%
ECHO Done.
PAUSE
ECHO Do you want to change another password? [Yes/No]
SET /p B=
IF /I %B% == YES GOTO A
IF /I %B% == NO EXIT
ECHO ERROR
PAUSE
EXIT