批处理中变量的用法

 

@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
posted on 2012-02-29 15:38  higirle  阅读(406)  评论(0编辑  收藏  举报