• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Looping with the FOR Command

Looping with the FOR Command

Pound for pound, the FOR command is easily the most underutilized and misunderstood of all Command Prompt commands. That is bad news because FOR is an extremely powerful weapon that shouldn’t be left out of any command-line guru’s arsenal. The problem, I think, is that FOR has a somewhat bizarre syntax that makes it wildly unappealing at first glance. So, before we look at it, I’ll give you some background.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint