Batch file that runs cmd.exe, a command, and then stays open at prompt
I have a set of environmental variables that I have to run before I can run other operations. I have a batch file for these but when I run the batch file it closes at the end. Is there something I can add so it will not close so I can continue to run other operations in the command prompt without writing them into the batch file script itself?
I eventually would like to have a batch file for each operation but I have a lot of different operations I need to run. So for now this will help to avoid the manual work of opening the batch file and copying and pasting the variables into a new command prompt window every time I go to run a new operation.