June 2024
Intermediate to advanced
488 pages
13h 14m
English
Many Batch commands have options, but most offer a slightly different flavor or tweak on the command. The options of the for command are a completely different story. The four available options impact the for command in four distinct ways. In this chapter, I’ll detail three of them, and the fourth will follow in the next, requiring its very own chapter.
One option changes the focus of the command from files to directories, and another uses recursion to traverse subdirectories looking for files. You’ll also learn how those two options used together can traverse a directory tree looking for subdirectories. ...
Read now
Unlock full access