- 1、本文档共29页,可阅读全部内容。
- 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 脚本基本语法(蝙蝠脚本基本语法)
Common commands
Echo, call, pause, REM @, (tip: use: instead of REM) is the most commonly used several command batch files, we began to learn from them.
Water injection ===========
First, @ @ is not a command, but a special token of the DOS batch, which is only used to mask command line returns. Here are some special tokens that may be seen in the DOS command line or batch:
CR (0D) command line terminator
Escape (1B) ANSI escape character Guide
Space (20) commonly used parameter delimiter
Tab (09) = = not commonly used parameter delimiter
+ COPY command file connector
* file wildcards
String delimiter
| command pipeline character
file redirection
@ command line echo mask
/ parameter switch Wizard
Batch tag boot operator
% batch variables boot characters
Next: indeed, it can play the role of REM annotation and is more concise and effective; but there are two points to note:
First, in addition to any outside:: at the beginning of the string, in a batch are regarded as a label, and ignore anything afterwards, just in order to distinguish the normal label, recommend the use of goto can not identify the label, namely: followed by a special symbol of a letter digital.
Second, and the rem is different: the character after the line is executed without echo, regardless of whether or not to use the echo on to open the command line to the state, because the command interpreter do not think he is a valid command line, this point of view, REM than in some occasions: more suitable in addition, rem; can be used for the config.sys file.
=====================
Echo represents the character after this command is displayed
The echo off indicates that all the running commands do not display the command line itself after this statement
@ is similar to echo off, but it is at the top of each command line, indicating the command line that does not display the line at run time (only the current row is affected).
Call calls another batch file (call and subsequent comma
您可能关注的文档
- 2011.1.30大陆(2011.1.30,).doc
- 2011年4月自考马克思主义基本原理概论模拟试题及答案(An introduction to the basic principle of Marx's April 2011 self simulation questions and answers).doc
- 2011年qs世界大学前50(2011 QS World University 50).doc
- 2011年中山大学部分专业将实行大类招生(In 2011, Zhongshan University will implement professional enrollment).doc
- 2011年中考总复习化学九年级下册过关检测(二)(附教师版解析)_百度文库...(The 2011 senior high school entrance examination general review of chemistry of grade nine clearance detection (two) (with Teacher Edition analysis) _ Baidu library...).doc
- 2011年六年级下学期语文阶段性作业设计训练题(In 2011, the sixth grade term Chinese training exercises design stage).doc
- 2011年广东高考语文试题(a卷)(2011 Guangdong Chinese college entrance examination (a)).doc
- 2011年收集伤感流行歌曲、超好听!(In 2011 the collection of popular songs, sad love!).doc
- 2011年普通高等学校招生全国统一考试(安徽卷)(In 2011, the unified national college entrance examination (Anhui volume)).doc
- 2011年普通高等学校招生统一考试湖南卷语文考试说明 target=_blank(2011 college entrance examination Chinese examination shows that the volume of Hunan target=_blank).doc
- 2025年贵州机电职业技术学院单招数学题库【模拟题】附答案详解.docx
- 2025年许昌职业技术学院单招数学考试黑钻押题及完整答案详解【全优】.docx
- 2025年贵州健康职业学院单招数学全真模拟模拟题及答案详解(有一套).docx
- 2025年西安高新科技职业学院单招数学题库含答案详解(精练).docx
- 2025年许昌职业技术学院单招数学考试黑钻押题及完整答案详解【全优】.docx
- 2025年西安高新科技职业学院单招数学全真模拟模拟题附参考答案详解【考试直接用】.docx
- 2025年西安铁路职业技术学院单招数学过关检测试卷附答案详解【B卷】.docx
- 2025年贵州工贸职业学院单招数学考前冲刺试卷【word】附答案详解.docx
- 2025年西安汽车职业大学单招数学过关检测试卷附答案详解【突破训练】.docx
- 2025年西安欧亚学院单招数学试卷及参考答案详解【培优A卷】.docx
最近下载
- Visio图标-visio素材-网络拓扑.ppt VIP
- 小红书代运营-标准化模板.pptx VIP
- 食材配送售后服务流程.docx VIP
- 量子场论v1 64-刘川.pdf
- 精品解析:2023-2024学年山东省滨州市滨城区统编版六年级下册期末考试语文试卷(解析版).docx VIP
- 医疗机构污水处理制度及整改措施.docx VIP
- 2024年秋国开新时代中国特色社会主义思想概论形考作业及答案.pdf VIP
- 人工智能教育应用(北师大)2024学堂在线雨课堂网课章节测试答案和期末考试答案.pdf VIP
- 精品解析:2023-2024学年山东省滨州市阳信县统编版六年级下册期末考试语文试卷(解析版).docx VIP
- 帮我早读书培训.ppt VIP
文档评论(0)