how can I keep a command window not exit in a windows batch file

how can I keep a command window not exit in a windows batch file

Search for: how can I keep a command window not exit in a windows batch file

Here is the first hit on google

In new windows this is the default behavior. To prevent, you will need to create a short cut and use the

cmd.exe /k your-batch-file