- 1、本文档共27页,可阅读全部内容。
- 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 command)
bat命令(Bat command)
BAT command Daquan
Echo and @ 1
@ # single back off
Echo off # began to close back from the next line
@echo off # began to close back from the bank. This is the first batch of general processing line
Echo on # began to open to the next line
Echo echo off is # displays the current state or echo state on
Echo. # output a blank line, enter
# (echo, echo; echo+ echo[echo] echo/ echo\)
2 errorlevel
Echo%errorlevel%
The end of each run, you can use the command line format check return code
The default value is 0, the general command error will set errorlevel to 1
3 dir
Dir # displays the current directory files and subdirectories.
Dir /a # display in the current directory files and subdirectories, including hidden and system files
Dir c: /a:d # display C in the current directory directory
Dir c: /a:-d # display root directory C files
Dir c:\ /b/p #/b displays only the file name, /p display
Dir *.exe /s # display the current directory and all the subdirectories.Exe file
4 CD
Cd\ # into the root directory
CD # displays the current directory
CD /d d:\sdk # can also change the drive and directory
5 MD
MD d:\a\b\c # if d:\a does not exist, it will automatically create the intermediate directory
If # command extensions are disabled, you need to type MKDIR \a\b\c.
6 Rd
Rd ABC # delete the current directory ABC directory, for empty directory
Rd /s/q d:\temp # delete the d:\temp folder and subfolders and files, /q quiet mode
7 del
Del d:\test.txt # deletefile, cannot be hidden, and read-only file system
Del /q/a/f d:\temp\*.*
Delete all the files inside the d:\temp folder, hidden, read-only, system files, not including subdirectories
Del /q/a/f/s d:\temp\*.*
Delete all files and subfolders inside d:\temp, hidden, read-only, system files, not including subdirectories
8 Ren
Ren d:\temp TMP # support to rename folder
9 CLS
Clear the screen
10 type
Display the contents of a file
Type c:\boot.ini # displays the contents of the specified file, the program files usuall
您可能关注的文档
- 25 小鸟,请原谅我(25 little birds, please forgive me).doc
- 25部口语练习电影、20部最浪漫电影、(25 oral practice movies, 20 most romantic movies,).doc
- 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
- 2025年眉山药科职业学院单招职业技能考试题库一套.docx
- 2025年眉山药科职业学院单招职业技能考试题库学生专用.docx
- 2025年石家庄信息工程职业学院单招职业技能考试题库完整.docx
- 2025年石家庄信息工程职业学院单招职业技能考试题库带答案.docx
- 2025年石家庄医学高等专科学校单招职业倾向性考试题库1套.docx
- 2025年眉山药科职业学院单招职业倾向性考试题库及答案一套.docx
- 2025年监理工程师之土木建筑目标控制题库500道(综合题).docx
- 2025年监理工程师之土木建筑目标控制题库500道附答案【突破训练】.docx
- 2025年监理工程师之土木建筑目标控制题库500道(各地真题).docx
- 2025年石家庄铁路职业技术学院单招职业倾向性考试题库参考答案.docx
文档评论(0)