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,664 of 42,547   
   Todd Vargo to foxidrive   
   Re: Running exe files sequentially using   
   28 May 13 07:32:46   
   
   From: tlvargo@sbcglobal.netz   
      
   On 5/28/2013 5:14 AM, foxidrive wrote:   
   > On 28/05/2013 06:35, Todd Vargo wrote:   
   >> 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.   
   >   
   > The OP repeated the question on Stack Overflow, complete with the wrong   
   syntax in the lines above.   
      
   This proves OP knows how to copy/paste, just not the actual code. My   
   take is, if both batches are running at the same time, then there must   
   be correct syntax some where otherwise neither batch would run at all.   
      
   --   
   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