home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,669 of 42,547   
   VanguardLH to All   
   Re: how to get the title into task mange   
   19 Sep 18 23:33:19   
   
   XPost: alt.windows7.general   
   From: V@nguard.LH   
      
   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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca