复制代码
- @ehco off
- set /p a=input:
- if "%a%"="100" echo yes
- echo no
- pause
复制代码
- @echo off
- set /p a=input:
- if "%a%"=="100" (
- echo yes
- ) else (
- echo no
- )
- pause
复制代码
- @echo off
- set /p a=input:
- if "%a%"=="100" (echo yes) else echo no
- pause
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |