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 40,825 of 42,547   
   Todd Vargo to pyotr filipivich   
   Re: Auto-close batch file upon exit w/ou   
   10 Dec 13 17:50:59   
   
   From: tlvargo@sbcglobal.netz   
      
   On 12/10/2013 3:08 PM, pyotr filipivich wrote:   
   > Harry Potter  on Tue, 10 Dec 2013 11:24:02   
   > -0800 (PST) typed in alt.msdos.batch  the following:   
   >> I am used to WinVista automatically exiting a batch file upon end.  However,   
   >> now I am stuck with an inactive DOS window.  So far, I have simply made   
   >> copies of batch files and removed the line that says pause at the end   
   >> of the file.  Is there any way to exit a batch file immediately or   
   >> wait for a keypress rather than closing the file manually?   
   >   
   > 	try adding the EXIT command at the end of the file.   
   >   
   > 	I don't recall similar problems when I was running vista, but ...   
   >   
      
   EXIT does not close the batch window when the batch is launched by   
   double clicking the batch file. Leaving the batch window blank does.   
      
   On Win9x systems, add CLS as the last line in the batch and that should   
   take care of it. If not, add ECHO OFF just above it to make sure the   
   screen will be blank when CLS is issued.   
      
   --   
   Todd Vargo   
   (Post questions to group only. Remove "z" to email personal messages)   
      
   --- 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