dos中for命令用法分析(The dos for command usage analysis).docVIP

  • 3
  • 0
  • 约1.73万字
  • 约 18页
  • 2017-08-17 发布于河南
  • 举报

dos中for命令用法分析(The dos for command usage analysis).doc

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

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档