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,128 of 42,547   
   Zaidy036 to All   
   Re: Batch command to put the file name i   
   08 Feb 23 21:06:41   
   
   XPost: alt.comp.os.windows-10   
   From: Zaidy036@air.isp.spam   
      
   On 2/8/2023 5:22 PM, JJ 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.   
   >   
   > The annoying thing about the TITLE command is that, there's no way to   
   > restore the original title back, after it has been changed.   
   what would be the purpose?   
   You may issue the TITLE as many times as you would like. I have a batch   
   that at start sets a title (.xyz.bat) to differentiate it from the bat   
   file itself (_xyz.bat) and then near the end of the batch sets a new   
   Title (0) so that the batch can run a second time without interference   
   to the first CMD window which stays open. I have a %1 variable to   
   position the CMD windows so they do not overlap using Nirsoft's   
   Multimonitortool   
      
   --- 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