how to get the title into task manger 'window'?
Zaidy036 wrote:
On 9/19/2018 5:19 PM, VanguardLH wrote:
Zaidy036 wrote:
I use Nircmd to rename, change size, and change position of CMD windows:
START "" /WAIT ...
^___ Could've set the new window's title right there.
Because you did not use the /b switch (to reuse the current shell), the
program loads in a new shell (which opens a new console window). You
can use the title parameter of the 'start' command to specify the title
for that new window.
The /wait switch means leaving open the console window for the current
shell until the called program/script exits in the other window. You'll
end up with two windows open: for the console shell where you ran
'start' and the one for within which the program/script runs.
Using Nircmd to change CMD window size and position would then require a
separate CMDs so this works fine for me especially since it does NOT
open a second CMD window.
I like Kleebauer's solution best: just use the 'title' command within
the batch file. However, doesn't do anything regarding positioning of
the window.
|