Reputation: 559
I'm using the command start to launch a process from a cmd script, I want to identify this process by its window title
start "Calculation" %calculation%
With %calculation% a link to a .cmd
The problem is that the window opened by this command is not named "Calculation". It's named with "Calculaltion" with the command launched by the window.
How can i change that to keep only "Calculation" as window title ?
Upvotes: 2
Views: 5704
Reputation: 11664
You can either put the title
command in the .cmd file, or use it on the command line just before you run the .cmd file:
start cmd /c "title Calculation & %calculation%"
Upvotes: 1