bat批处理中一个变量的引用问题

2024-12-04 12:15:42
推荐回答(3个)
回答1:

@echo off
set /p input=请输入:
echo 888%input%
pause

回答2:

@echo off
set /p input=
set cicdate=%cicdate%%input%
echo %cicdate%
pause

回答3:

@echo off
set cicdate=888
set /p a=请输入:
cls
echo %cicdate%%a%
pause>nul 2>nul