- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
bat语法分析详解(Bat syntax analysis detailed)
bat语法分析详解(Bat syntax analysis detailed)
The content of many, I from the Internet to organize a bit, look at it,
The batch file is a series of commands in a certain order set for an executable text file with the extension BAT. These commands are batch, batch commands are commonly used:
1, REM
REM is a general note command is used to program with annotations, the order content during execution and execution will not be displayed.
Cases:
REM now you can see the notes, this sentence will not be executed.
2, ECHO
ECHO is a display command and the main parameters are OFF and ON, general use ECHO message to display a specific message. Cases:
Echo off
The Rem echo is not closed or more representative display commands
This is the message Echo.
Rem this is the message above represent this character
The execution result:
C:\ECHO.BAT
This is the message.
3, GOTO
4, CALL
The CALL command can be used in batch execution process calls another batch, when another batch is executed to continue the original batch.
Cases:
Batch 2.BAT as follows:
This is the content of 2 ECHO
Batch 1.BAT as follows:
This is the content of 1 ECHO
CALL 2.BAT
ECHO 1 and 2 of all the contents displayed
The execution results are as follows:
C:\1.BAT
This is the 1 content
This is the 2 of the content
1 and 2 of all the contents displayed
5, PAUSE
PAUSE stop system to execute the commands and displays the contents of the following. Cases:
C:\ PAUSE
Please press any key to continue.
6, IF
The IF statement to determine the conditions of syntax is as follows:
IF [NOT] ERRORLEVEL number command
IF [NOT] string1==string2 command
IF [NOT] EXIST filename command
Explain:
[NOT] will return the invert if no.
ERRORLEVEL is a command execution after the completion of the exit value return
Digital range of Number exit value 0~255. In order to determine from big to small.
The return value is greater than or equal to the specified value when the conditions of establishment.
String1==string2
String1 and string2 are the chara
您可能关注的文档
- 26 机神乱舞(26 machines God flurry).doc
- 26个字母剖析 迷一样的男人-金在中(26 letter analysis fan like man - Kim Jaejoong).doc
- 24 湘教版寓言二则《拔苗助长》《亡羊补牢》教学设计(24 Hunan Edition two fables teaching design remedial measures spoil things by excessive enthusiasm).doc
- 26-让每一个人为洒满阳光的童年而感谢人生(26- let everyone thank the life for the sunny childhood).doc
- 24免疫调节(24 regulation of immunity).doc
- 29 在飞机上、饭店里(29 on the plane, in the hotel).doc
- 29《宋俘记》 金·可恭(29 gold - Gong Song Fuji).doc
- 29中风(29 stroke).doc
- 2发展阶段(2 stage of development).doc
- 2四级词汇活记活用(2, four level vocabulary active use).doc
- 2024年民航职业技能鉴定模拟题库附答案详解【预热题】.docx
- 2024年教育硕士试卷附完整答案详解(考点梳理).docx
- 2024年民航职业技能鉴定考试黑钻押题(综合卷)附答案详解.docx
- 2024年民航职业技能鉴定考试综合练习附参考答案详解(B卷).docx
- 2024年教育硕士考试综合练习含答案详解【夺分金卷】.docx
- 2024年教育硕士自我提分评估及答案详解(各地真题).docx
- 2024年教育硕士能力检测试卷含答案详解.docx
- 2024年民航职业技能鉴定考前冲刺试卷及完整答案详解(网校专用).docx
- 2024年民航职业技能鉴定考前冲刺练习精编附答案详解.docx
- 2024年教育硕士通关考试题库附参考答案详解(基础题).docx
文档评论(0)