Among a number of commands, FORFILES and FORMAT commands are very important. Find below the basic command execution.
FOREFILES: Select a file (or set of files) and execute a command on each file. Batch processing.
Syntax:
FORFILES [/p Path] [/m Mask] [/s] [/c Command] [/d [+ | -] {dd/MM/yyyy | dd}]
FORMAT: Format a disk for use with Windows.
Syntax:
FORMAT drive: [/FS:file-system] [/V:label] [/Q] [size] [/C]

