复制代码
- set str=
- set /p str=
上面两段代码运行结果一样,请教两段代码有什么区别吗?复制代码
- set /p str=
C:\Documents and Settings\Administrator\桌面>set /p a=
123
C:\Documents and Settings\Administrator\桌面>echo 123
123
C:\Documents and Settings\Administrator\桌面>set /p a=
C:\Documents and Settings\Administrator\桌面>echo 123
123
C:\Documents and Settings\Administrator\桌面>pause1>nul
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |