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,653 of 42,547    |
|    sekharece@gmail.com to foxidrive    |
|    Re: Running exe files sequentially using    |
|    28 May 13 02:53:02    |
      On Tuesday, May 28, 2013 2:44:55 PM UTC+5:30, 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. -- foxi              i just confused ,you mean this way ..              "abc.bat"        "def.bat"              and inside abc.bat              start "" /wait D:\Setp.exe              and inside def.bat               D:\ISR.exe       Please suggest ?              --- 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