(编辑:jimmy 日期: 2024/11/13 浏览:2)
复制代码 代码如下:
@echo off
:star
set Output=
set /p Enter=请输入:
:Start
if not "%Enter%"=="" (
set Output=%Output%%Enter:~-1%
set Enter=%Enter:~0,-1%
goto :Start)
echo.
echo %Output%
pause >nul&goto :Star