I would like to be able to change the title of the Command window at various points throughout my NAnt script.
I have tried to use the task to call ‘title myTargetName’ but it gives me the following error:
‘title’ failed to start.
The system cannot find the file specified
Is there a way to do this please? Thanks in advance!
You can set the console title in a custom task. If the task is defined in a script, the build file is self contained.
The console title will revert once nant finishes.