批处理中变量的用法

 


@echo off


:S

Echo Please input the start part


set/p start=


if "%start%"=="" goto S


Echo Please input the middle part


Set /p middle=


Echo Please input the end part


Set /p end=


Set /p all= the above three part =%start%%middle%%end%



@echo %all%


pause