View Single Post
  #13  
Old September 20th 18, 03:48 AM posted to alt.msdos.batch,alt.windows7.general
Zaidy036[_5_]
external usenet poster
 
Posts: 427
Default how to get the title into task manger 'window'?

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.

--
Zaidy036
Ads