How to set the `cmd` window title dynamically?