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,665 of 42,547   
   VanguardLH to pyotr filipivich   
   Re: how to get the title into task mange   
   19 Sep 18 13:40:47   
   
   XPost: alt.windows7.general   
   From: V@nguard.LH   
      
   pyotr filipivich wrote:   
      
   > 	I run batch files.  (well 'duh')   
   > 	Sometimes I'll have two or more running, but when I look at the   
   > task bar, all I see of the "title" is "Adminis..."   
   >   
   > 	IF I hover over the mouse, up pops the popup with the full title:   
   > e.G.,  "Administrator: ZZ Home Agent Bat".   
   >   
   > 	Is there a way to eliminate, remove, not display the   
   > "administrator" part, or is that a Feature?   
   > 	It occurs to me,that if I could rename "administrator" to   
   > something shorter (E.G., Adm, Me, ...) that would serve as a   
   > "solution" of sorts.   
      
   Give the batch file a title when you run it, like:   
      
   start "title"     
      
   To see the syntax for the 'start' function, run 'start /?' at the   
   command line.  'start' is an internal function within the command   
   interpreter (cmd.exe).  Sometimes you get "unknown command" if you just   
   start the command line with 'start' (because whatever is the handler   
   doesn't know you are entering a function from within cmd.exe).  In that   
   case, use:   
      
   cmd /c start "title"     
       ^__ or /k depending on how you want the shell to handle stdout   
      
   Remember to enclose the batch file within double quotes if its path or   
   file name have space characters.   
      
   The window title will have a title of " - ".  You   
   see "Administrator - <batfilename>" if you are running the batch file   
   inside the same command shell (which, in your case, was opened with   
   admin privs) instead of loading another shell.  If you want the new   
   window opened by 'start' to close when the batch file ends, add 'exit'   
   at the end of your batch file.   
      
   > --   
      
   Not a valid signature delimiter line.  You used "dash dash space space"   
   but a correct sigline is "dash dash space".  Just one trailing space.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
</pre>
</div></table><br>
<p align="center">[   <a href=/msgbases/ALTMSDOS/40547.HTM><< oldest</a>   |   <a href=/msgbases/ALTMSDOS/41664.HTM>< older</a>   |   <a href=/msgbases/ALTMSDOS.HTM>list</a>   |   <a href=/msgbases/ALTMSDOS/41666.HTM>newer >   |   <a href=/msgbases/ALTMSDOS/42547.HTM>newest >></a>   ]</p>
</div></table></br>
<p align="center"><font size="2">(c) 1994, <script type="text/javascript">document.write( new Date().getFullYear() );</script> <a href="mailto:bbs@darkrealms.ca?subject=Feedback">bbs@darkrealms.ca</a></font></p></body>
</html>