I can set title via windows shell using command title some string
but how can I get the title of some process?
I tried command tasklist /v, but my title is very, very long, that's why I receive only partial title. Also I was thinking about wmic utility, but can't find desired flag.

tasklistto a text file? – iglvzx Jan 16 at 0:03