Do this at the command prompt:
Code: Select all
title test
dir
pause
set /p "somestr=enter something:"
You will see that 'pause' is added to the title or complete 'set /p' command is added to the title. Looks like this is just how 'title' command works - adds a command that stops the processing of the batch file.
Maybe anyone else has a better explanation.
Saso