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 42,132 of 42,547   
   Philip Herlihy to All   
   Re: Batch command to put the file name i   
   10 Feb 23 12:37:32   
   
   XPost: alt.comp.os.windows-10   
   From: PhillipHerlihy@SlashDevNull.invalid   
      
   In article , Stan Brown   
   wrote...   
   >   
   > On Wed, 8 Feb 2023 16:11:17 -0500, Zaidy036 wrote:   
   > >   
   > > On 2/8/2023 2:21 PM, Andy Burns wrote:   
   > > > Wade Garrett wrote:   
   > > >   
   > > >> If I write a batch file to do something out of batch commands,   
   > > >> how do I get that batch file to put in the Windows header bar   
   > > >> the name of that file?   
   > > >>   
   > > >> Is there an "output to the window title" command in Windows batch   
   > > >> language?   
   > > >   
   > > > only at the time you start the batch, not afterwards.   
   > > >   
   > > the TITLE command changes the title of the current window at anytime   
   > > while the batch is running.   
   >   
   > Wow - I thought I was pretty good with CMD, but that's a new one on   
   > me. It works in both native Windows CMD and TCC/LE. Thanks!   
      
   One thing you could do is start a new command interpreter instance, using the   
   CMD command.  Set the TITLE in that, and it's visible in the title bar, but   
   when you EXIT the layered instance, the original title is visible again.   
   Commands:   
      
   > TITLE First   
   > CMD   
   > TITLE Second   
   > EXIT   
      
   .. obviously you'd include other commands, depending on what you wanted to do.   
      
   --   
      
   Phil, London   
      
   --- 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