A batch file refers to those text files that usually end with a ".bat" extension that contains multiple commands that the system can run in sequence from the Command Prompt to perform different tasks.
Task Scheduler is capable of much more than just running built-in Windows 11 functions. It can also be used to launch third-party apps. For example, in lieu of Disk Cleanup, I can schedule a run using ...