June 2024
Intermediate to advanced
488 pages
13h 14m
English
By far the most involved syntax and powerful functionality of the already powerful for command is unleashed with the /F option, which allows for file reading. The optionless for command can do quite a bit with a file such as getting its name, path, drive, size, and attributes, pretty much everything concerning a file except its actual contents. Enter the /F option.
After introducing its syntax, I’ll demonstrate how to read a file, record by record. You’ll learn how to manipulate the input data, place the entire contents of a record into a variable, or break it into what Batch calls tokens. By tokenizing ...
Read now
Unlock full access