I'm trying to start a command prompt via a batch file, echo
some text, and change the title of the command prompt. I'm trying:
start cmd
/k echo This is a terminal
/k title Terminal
The echo text displays, but not the title text.
batchbatch filebatch-rename
I'm trying to start a command prompt via a batch file, echo
some text, and change the title of the command prompt. I'm trying:
start cmd
/k echo This is a terminal
/k title Terminal
The echo text displays, but not the title text.
Best Answer
The TITLE command works for me.
Edit: I believe the syntax for /k is