Question: what are cmd files used for?
Answer: What is a CMD file? A CMD file is a script file that contains one or more commands in plain text format that are executed in order to perform various tasks. It is similar to a . BAT file, which is also commonly used to store a batch of executable commands.