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,651 of 42,547   
   Todd Vargo to sekharece@gmail.com   
   Re: Running exe files sequentially using   
   27 May 13 16:35:45   
   
   From: tlvargo@sbcglobal.netz   
      
   On 5/27/2013 8:05 AM, sekharece@gmail.com wrote:   
   > Iam trying to run a bat file using the below code.   
   >   
   > start /wait  "D:|Silent_installer.bat"   
   > start /wait 'D:def.bat"   
   >   
   > It's happening like both bat files running at the same time.   
   >   
   > But i wanted the first bat file to run completely then def.bat should start.   
   >   
   > any suggestions would be of great help   
   >   
      
   It should be working with all typos corrected, however batch files do   
   not need START/WAIT to run them sequentially. CALL is all that is   
   needed. Type CALL/? at prompt.   
      
   CALL D:\Silent_installer.bat   
   CALL D:\def.bat   
      
   If you still have items loading at the same time, then you need to look   
   in those batch files for any lines using START to run executables within   
   those batch files without a /WAIT switch. If you are still having   
   problems with this, post the contents of those batch files and explain   
   where the problem is.   
      
   --   
   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