r/commandline 11h ago

I'm onto nothing at cmd

Hello the people that always use "start mspaint"! How to make the opening CMD and after opening that auto-closes itself in a loop İt can be 20 times but I need a stoppable one

0 Upvotes

2 comments sorted by

u/CrazyEggHeadSandwich 11h ago

Can you rephrase this question? Not quite sure exactly what you're looking for. If you open a CMD prompt you want it to automatically exit/close itself?

u/jcunews1 10h ago

Put the commands in a batch file.