Modify the batch code of the system user name

Time:2021-6-6
Copy codeThe code is as follows:
@echo off
echo.
Echo. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
net user
echo.
set  / p   User = please enter the user name you want to change:
set  / p   Newuser = please enter a new name  :
wmic useraccount where name=’%user%’ call Rename %newuser%
echo.
echo.
echo   Change complete   !!!!!     Two seconds later   sign out
ping 127.255.255.255 -n 1 -w 2000 >nul 
cls