Batch is a programming language. It is used to create script files executable on Windows operating system. Normally, normally these files have an extension of .bat or *.cmd. When being executed, they open a "Command Prompt" window, which normally has a typical black background, white text. The batch files (*.bat…