From: admin@127.0.0.1   
      
   On Sat, 16 Nov 2013 18:25:03 -0000, Todd Vargo    
   wrote:   
      
   > On 11/16/2013 1:25 AM, SpaceSST wrote:   
   >> On Fri, 15 Nov 2013 17:03:50 -0500, Todd Vargo    
   >> wrote:   
   >>   
   >>> On 11/15/2013 11:35 AM, SpaceSST wrote:   
   >>>> On Fri, 15 Nov 2013 12:48:38 -0000, "Stanley Daniel de Liver"   
   >>>>    
   >>>> wrote:   
   >>>>   
   >>>>> On Thu, 14 Nov 2013 12:00:41 -0000, SpaceSST    
   >>>>> wrote:   
   >>>   
   >>>>>>   
   >>>>> [most of a well-over complicated batch snipped]   
   >>>>>>   
   >>>>>> exit   
   >>>>>>   
   >>>>> why exit?   
   >>>>   
   >>>> It's a Sub Call from another BATCH FILES   
   >>>   
   >>> Unfortunately, EXIT without parameters causes not only the Sub to end   
   >>> but the entire CMD session is closed also. Your explanation is a bit   
   >>> incomplete.   
   >>   
   >> 1- First i run > start /min C:\dnews\UTL\gzTs.bat rar yes   
   >> 2-it call this   
   >> cls   
   >> if exist c:\lock.sem exit   
   >> start /MIN /WAIT C:\dnews\UTL\gzT.bat %1 %2   
   >> start /MIN /WAIT C:\dnews\UTL\ugz.bat   
   >> start /MIN /WAIT C:\dnews\UTL\hours.bat   
   >> start /MIN /WAIT C:\dnews\UTL\top1000s.bat   
   >> rem start /MIN /WAIT C:\dnews\UTL\tests.bat   
   >> start /MIN /WAIT C:\dnews\UTL\Usenet-Send.bat D:\TXT-BIN\ToSend   
   >> start /MIN /WAIT C:\dnews\UTL\del-age.bat   
   >> sync   
   >> nircmd.exe emptybin   
   >> sync   
   >> exit   
   >>   
   >> 3-Was the Big Batch Script i post earlier   
   >> 4- it call ugz.bat   
   >> 5-call hours   
   >> 6-top1000   
   >> 7-tests   
   >> 8-usenet send   
   >> 9-del-age   
   >> ................   
   >>   
   >> Work fine for me for Years....   
   >   
   > My point was that someone asked "why exit" but your response was   
   > incomplete. With this additional information, it is clear, its being   
   > used to force those separate CMD sessions closed to allow the main batch   
   > to proceed with the next task.   
   >   
   > I'll leave the semantics of CALLing a Sub and STARTing a Sub for another   
   > discussion.   
   >   
      
   Thanks both for the clarification. It still looks too complicated, but I   
   guess if it works for you that's fine.   
      
      
   --   
   It's a money /life balance.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|