For the `for` command in DOS, there are several common usages:
1. `for %variable in (set) do command [command-parameters]` - Iterates over a set of files or values. For example, `for %i in (*.txt) do type %i` to display the contents of all text files.
2. `for /f ["options"] %variable in (file-set) do command [command-parameters]` - Reads the contents of a file and performs commands on each line. For example, `for /f "delims=" %i in (test.txt) do echo %i` to echo each line in the test.txt file.
3. `for /l %variable in (start, step, end) do command [command-parameters]` - Performs a loop from the start number to the end number with a specified step. For example, `for /l %i in (1,1,5) do echo %i` to echo numbers 1 to 5.
4. `for /r [[drive:]path] %variable in (file-set) do command [command-parameters]` - Recursively searches for files in a directory tree. For example, `for /r c:\ %i in (*.exe) do echo %i` to echo all executable files in the C drive and its subdirectories.