- 1、本文档共19页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
批处理bat文件实现各种功能(Batch bat file implements various functions)
批处理bat文件实现各种功能(Batch bat file implements various functions)
Batch bat file implements various functions
The bat file automatically copies and deletes commands.
1: here is the copy of the cd.dll file to windows\system32 content of the bat file:
Copy cd.dll%windir%\system32
2: the following line is to uninstall the cd.dll in the windows\system32 directory, which is to delete the files copied above:
Del%windir%\system32\cd.dll
3: delete the files in the download folder, as follows:
Del C:\DOWNLOAD\*.*
Note: the Del command here can only delete files and cannot delete folders. To remove the folder, you must use the RD command, as follows:
Rd Filemon
Here, the FILEMON folder and the bat file in the same directory, save the specific path. But Rd can only delete empty folders
To delete the folder and all subdirectories and files inside it, use the RD command with the /s /q parameter,
The /s parameter indicates the deletion of the folder and its subdirectories and files below
The /q parameter indicates that no validation is required
Examples are as follows:
Rd 123, /s, /q
2 create folders
Example: create 3 new folders at E:\My documents once: Newfolder1, Newfolder2, Newfolder3
@echo off
MD E:\My documents\Newfolder1
MD E:\My documents\Newfolder2
MD E:\My documents\Newfolder3
3 execute the program, open the file
L1: the implementation of the C program under the WinWord.exe
Start C:\WinWord.exe
L2: open a file with a program, such as opening a HTM file with TheWorld.exe
Start, d:\TheWorld\TheWorld.EXE, C:\, I have a love.Htm
[note] both spaces in a program or file path must be enclosed in quotation marks:
Start d:\TheWorld\TheWorld.EXE e:\My documents\, I have a love.Htm.
Not all the quotes in a program is full, must use the semiangle input format, so close Chinese characters input system before the best quotes
XCOPY also has many functions, plus parameters. /s /e the role of the above parameters are sub directory and empty directories are copied in the past, some use example
您可能关注的文档
- 扳手腕训练文档(Wrench wrist training document).doc
- 批处理的极限应用(Limit application of batch processing).doc
- 找回好睡眠(Get a good sleep).doc
- 找回还原精灵的密码的七种方法(Seven ways to retrieve the restore wizard's password).doc
- 找回丢失的windows 任务栏图标(Retrieve the missing windows taskbar icon).doc
- 找工作的五险一金你懂么(The job five social insurance and one housing fund you know).doc
- 找广告牌上的错别字大全(Find the billboard typos Daquan).doc
- 找回删除的文件 __一不小心把文(Recover deleted files __ accidentally put a paper).doc
- 技击之神李书文(Li Shuwen, the God of martial arts).doc
- 技术交流彩印厂的作业工序(Technical exchange process of printing plant).doc
- 2024年学校党总支巡察整改专题民主生活会个人对照检查材料3.docx
- 2025年民主生活会个人对照检查发言材料(四个带头).docx
- 县委常委班子2025年专题生活会带头严守政治纪律和政治规矩,维护党的团结统一等“四个带头方面”对照检查材料四个带头:.docx
- 巡察整改专题民主生活会个人对照检查材料5.docx
- 2024年度围绕带头增强党性、严守纪律、砥砺作风方面等“四个方面”自我对照(问题、措施)7.docx
- 2025年度民主生活会领导班子对照检查材料(“四个带头”).docx
- 国企党委书记2025年度民主生活会个人对照检查材料(五个带头).docx
- 带头严守政治纪律和政治规矩,维护党的团结统一等(四个方面)存在的问题整改发言提纲.docx
- 党委书记党组书记2025年带头增强党性、严守纪律、砥砺作风方面等“四个带头”个人对照检查发言材料.docx
- 2025年巡视巡察专题民主生活会对照检查材料.docx
最近下载
- 重庆市两江新区2024-2025学年数学六年级第一学期期末检测试题含解析.doc VIP
- 人教版(2024年新版)七年级上册美术全册教学设计.docx
- Desouttter马头电动装配系统CVI3 系列 CVI3 Controllers CVI3 Vision (6159326910) CVI3 tightening controllers Conf.pdf
- 【MOOC】时间序列分析-中南财经政法大学 中国大学慕课MOOC答案.docx
- 2024-2025学年重庆市六年级数学第一学期期末检测试题含解析.doc VIP
- 高中政治(必修1+必修2)期末测试卷(二)(原卷版).docx VIP
- 高中生物 2023-2024学年安徽省合肥高一(上)期末生物试卷.pdf
- 太阳能光伏产业链垂直一体化构建研究.docx VIP
- SSCI收录管理学种期刊目录.docx
- GB51016-2014 非煤露天矿边坡工程技术规范.pdf
文档评论(0)