From QB64.org wiki
The _CONSOLETITLE statement creates the title of the console window using a literal or variable string.
- _CONSOLETITLE text$
- The text$ used can be a literal or variable STRING value.
Example: Hiding the main program window while displaying the console window with a title.
- Note: You can also use SHELL "title consoletitle" to set the title of the console window. However, the recommended practice is to use _CONSOLETITLE.