- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
bat文件语法说明(Bat file syntax description)
bat文件语法说明(Bat file syntax description)
Batch grammar:
Start with the most basic thing, @echo off
Echo means the roundabout, here is that echo off is back, back off. In front of the echo @ off this line will back you can try to get rid of the whole line @ and another function. @ the auto recovery in executing the command batch files back. If the first sentence uses the ECHO OFF, then the command prompt is not displayed after the batch file has been executed.
For example, if we first create a 1.bat file, enter it: dir
And stored in C: \. Then we run the CMD, enter the C root directory 1.bat input, display:
C:dir
The volume in the drive C is not marked.
The serial number of the volume is 0C5D-07FF
C: directory
2004-08-25 00:45 DIR WINDOWS
2004-08-25, 00:51, DIR, Documents, and, Settings...
C:
If you modify the 1.bat content into
Echo off
Dir
Then enter 1.bat in CMD, and it will show
C:echo off / / because running the echo off, so there is no dir command, directly display the results
The volume in the drive C is not marked.
The serial number of the volume is 0C5D-07FF
C: directory
2004-08-25 00:45 DIR WINDOWS
2004-08-25, 00:51, DIR, Documents, and, Settings
...
C:
If you change the 1.bat file to:
@echo off
Dir
Is shown as:
C:1.bat / / front, and did not show echo off, and the reason is not so @, @ show behind the content. And because of
The echo / off, so the command is not displayed directly display the results
The volume in the drive C is not marked.
The serial number of the volume is 0C5D-07FF
C: directory
2004-08-25 00:45 DIR WINDOWS
2004-08-25, 00:51, DIR, Documents, and, Settings
...
C:
Through the above comparison, I believe you are fully aware of the echo off command
Next is the call command:
Call is called call, call means call. If there are 2 batch files, a.bat and b.bat., how can I run b.bat. if I want to run a.bat? In fact, very simple, as long as the a.bat file in the input call command, you can run in the a.bat running, b.bat, and so on after the b.bat run
您可能关注的文档
- 30个经典的路由问题(30 classic Routing Problems).doc
- 32种策略提升卖场销售额(32 strategies to increase store sales).doc
- 32个经典游戏提高宝宝智力(32 classic games to improve your baby's intelligence).doc
- 34期航海学 913(34 phase navigation 913).doc
- 33煤矿领导带班下井及安全监督检查规定(Provisions of wells and 33 coal mine safety supervision and inspection under the leadership class).doc
- 34首古诗(34 Ancient Poems).doc
- 35、无粘结预应力筋工工艺标准(435-1996)(35, unbonded prestressed tendon technology standards (435-1996)).doc
- 35kv线路改造为110kv紧凑型线路的可行性分析(Feasibility analysis of converting 35kV line into 110kV compact line).doc
- 365天做的事~让生活丰富起来(365 days to do things to enrich life).doc
- 3-优化-2-启动提速篇(3- optimization -2- start speed chapter).doc
- bcran课本命令回顾(Bcran textbook command review).doc
- bd facsaria 高速流式细胞分选仪(facsaria 高速流式细胞分选仪 bd).doc
- bdo-eg项目机修题库(Bdo-eg item database).doc
- bianchengzhimei12(bianchengzhimei12).doc
- bianchengzhimei22(bianchengzhimei22).doc
- bios 五大功能详尽介绍(五大功能详尽介绍 BIOS).doc
- bim控制成本案例(BIM control cost case).doc
- bios 解析(解析 BIOS).doc
- bios设置方法(BIOS settings method).doc
- bios(BIOS).doc
文档评论(0)