Page 1 of 1

Another way to keep terminal window open

Posted: 29 May 2024 19:38
by samsonwilliams
At the end of the batch file I have "pause" to keep the window open. However, any time I press any key, as the terminal states, this causes the window to close. I would like to keep the window open so that I can do a search for keywords within the terminal window using CTRL+F. Is there another function besides "pause" that can achieve this?

Thanks for your help on this.

Re: Another way to keep terminal window open

Posted: 30 May 2024 13:49
by Sponge Belly
Hi Samson,

Have you tried opening cmd.exe and running the batch file from the command line?

Hope this helps! :wink:

- SB