Prev | Current Page 370 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

It then breaks whatever input you provide into specific tokens based on the rules
you specify. A token can be a control character, a special word, or anything else you can define as
part of the simple syntax for this command. The For command passes the token to a command you
specify as input. Here??™s the command line syntax for this form of the For command.
for /F ["ParsingKeywords???] {%% | %}Variabe lin (FileNameSet) do Command
[CommandLineOptions]
CREATING BATCH FILES 141
for /F ["ParsingKeywords???] {%% | %}Variable in ("LiteralString???) do
Command [CommandLineOptions]
for /F ["ParsingKeywords???] {%% | %}Variable in ('Command??™) do Command
[CommandLineOptions]
Notice that you need to use a different command line syntax for each kind of input. A filename
appears without quotes, while a string appears in double quotes and a command appears in single
quotes. The small differences in command format determines how the For command views the
input.
The ParsingKeywords input is a quoted string that specifies the rules for parsing the input into
tokens. These keywords always appear in double quotes, as shown. The following list describes the
keywords you can use.


Pages:
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382
basketball.sport24x7.net wyświetlacz xperia ścianki biurowe hosting bad credit loans instant decision no brokers