为什么批处理脚本打开时显示此处不应有echo
@echoofftitleTEST.BATNO.1modeconcols=80lines=25color0Aset\pvar=Pleaseentertheparamete...
@echo off
title TEST.BAT NO.1
mode con cols=80 lines=25
color 0A
set\p var=Please enter the parameters
if %var%==i echo Continue content
pause>nul
xcopy d:\bbac.txt f:
if errorlevel 1 goto 1
if errorlevel 0 goto 0
:0
echo nod
echo %errorlevel%
goto exit
:1
echo shoot
echo %errorlevel%
goto exit
:exit
pause>nul 展开
title TEST.BAT NO.1
mode con cols=80 lines=25
color 0A
set\p var=Please enter the parameters
if %var%==i echo Continue content
pause>nul
xcopy d:\bbac.txt f:
if errorlevel 1 goto 1
if errorlevel 0 goto 0
:0
echo nod
echo %errorlevel%
goto exit
:1
echo shoot
echo %errorlevel%
goto exit
:exit
pause>nul 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询