- 3
- 0
- 约1.73万字
- 约 18页
- 2017-08-17 发布于河南
- 举报
dos中for命令用法分析(The dos for command usage analysis)
dos中for命令用法分析(The dos for command usage analysis)
The for command is a kind of object in a series loop with one or more commands at the command line or the commands in the batch, with some Windows in the management of the program, its powerful function, flexible and convenient application is sit up and take notice. However, the help information is complex and often daunting to beginners. Here, according to my learning and understanding, the usage is simplified and the omission and error may be unavoidable.
Basic format
(here is written on the command line with the format, if it is in a batch, which need to add a form%%%%):
For / parameter% variable in (set) do command
(Note: in addition to Chinese, the rest are written in its format, both in case and in case)
Argument: FOR is divided into four parameters, D, L, R, F, and some parameters can be added with additional options, which are described below
Variables: (remember if it is in a batch using the for command, before the variable should be changed into the%%%) the variable name is composed of individual letters and case sensitive (the original help says so, using a single digital practical application as a variable name, also tried to prove feasible) such as%B and%b is the representative of the different variables.
The FOR command in each cycle, the in (set) in the read value with the variable to reference the following command.
Set: a collection formed by a series of files, strings, or content generated by a command (of course, a wildcard *) Also, references to environment variables), the FOR command is in a certain order and rule reads centralized content, assigned to variables, and execute do commands, cycle the next round, until the concentration read is completed, and the brackets are format (in to back to a space between the brackets).
Command: it can be any qualified DOS command or program that can be invoked by DOS, and can use parentheses to enclose multiple commands and execute in a loop.
Note: because s
您可能关注的文档
- 33-《机械设计基础》试题(33- mechanical design foundation examination questions).doc
- 354攻略.doc
- 34建筑构造与详图(34 building construction and detailing).doc
- 35t_h工业链条炉计算机控制系统的设计(Design of computer control system for 35t_h industrial chain furnace).doc
- 35建筑构造与详图(35 building construction and detailing).doc
- 39楼adsl掉线,断流与连不上的常见故障解决(The 39 floor ADSL drop line, stop and fail to connect the common faults to solve).doc
- 36建筑构造与详图(36 building construction and detailing).doc
- 39综合测试题(39 comprehensive test questions).doc
- 3d max札记(3D max札记).doc
- 3dsmax的模型优化技巧默(3dsmax model optimization techniques silently).doc
- 新教材人教版八年级英语下册习题课件Unit 3 Growing Up.pptx
- 新教材人教版八年级数学下册习题课件第二十三章 一次函数.pptx
- 人教版二年级数学上册第三单元1-6的表内除法PPT.pptx
- 新教材人教版八年级数学下册第二十一章四边形(前三节).pptx
- 新教材人教版八年级英语下册习题课件Unit 6 Crossing Cultures.pptx
- 新教材人教版八年级数学下册期末复习课件.pptx
- 新人教版三年级数学上册第五单元线和角.pptx
- 新教材人教版八年级数学下册习题课件第二十一章 四边形.pptx
- 新教材华师版八年级数学下册期末专题复习课件.pptx
- 新教材人教版八年级数下册第二十三章 一次函数.pptx
原创力文档

文档评论(0)