I've recently come back to batch coding. Now, all my code is ready, but I want to add a special feature: a password protected "developer mode".
I've been thinking about cmd /c ""
but this just exits the window.
I want to insert a code that terminates the current batch job, but then stays in the command prompt window so that the user can normally execute commands that may even affect the .bat file.
cmd /?
in an open cmd window ->cmd /K
and what aboutexit /b
in your batch? Seeexit /?
or read about batch commands in ss64.com