Nuacht

If you need to edit the batch file later, browse to the Startup folder in Windows Explorer, right-click the file and click "Edit." Double-clicking the file will run the batch file immediately.
If you want to run CMD command on startup automatically in Windows 11 or Windows 10, here is how you can do that.
You can change startup programs in Windows 10 — the applications that start when you turn on your computer — to make your computer run faster.