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,671 of 42,547   
   Zaidy036 to VanguardLH   
   Re: how to get the title into task mange   
   20 Sep 18 18:23:02   
   
   XPost: alt.windows7.general   
   From: Zaidy036@isp.spam   
      
   On 9/20/2018 12:33 AM, VanguardLH wrote:   
   > 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.   
   >   
   Nircmd does positioning - there is no native cmd to do it so why not   
   resize at the same time? Yes, MODE CON: will resize but not position.   
      
   --   
   Zaidy036   
      
   --- 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