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,660 of 42,547   
   foxidrive to sekharece@gmail.com   
   Re: Running exe files sequentially using   
   28 May 13 20:43:35   
   
   From: not@this.address.invalid   
      
   On 28/05/2013 20:30, sekharece@gmail.com wrote:   
   > On Monday, May 27, 2013 5:35:42 PM UTC+5:30, sekh...@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   
   >   
   > Hello ,thanks   
   >   
   > Yes i have more command lines in each bat file.   
   > Please refer below   
   > abc.bat file contains   
   > \\in0114srv01\ElecCAD\ADW165_Installables\ADW165_KIT2_STSI\BAS   
   _SPB165\Disk1\setup.exe !quiet=\\in0114srv01\ElecCAD\ADW165_Inst   
   llables\ADW165_KIT2_STSI\BASE_SPB165\silentinstall-SPB.ini   
   >   
   >   
   > and def.bat file contains   
   >   
   > \\in0114srv01\ElecCAD\ADW165_Installables\ADW165_KIT2_STSI\Hot   
   ix_SPB16.50.038_wint_1of1.exe !quiet=\\in0114srv01\ElecCAD\AutoI   
   packaging\silent.ini   
   >   
   >   
   >   
   > now please suggest the code?   
   >   
      
      
   You have one command in each bat file?  What you have shown is only one   
   command in each.   
      
   You can put both lines in one batch file.   
      
   @echo off   
      
   start "" /wait "\\in0114srv01\ElecCAD\ADW165_Installables\ADW165   
   KIT2_STSI\BASE_SPB165\Disk1\setup.exe" !quiet=\\in0114srv01\Elec   
   AD\ADW165_Installables\ADW165_KIT2_STSI\BASE_SPB165\silentinstall-SPB.ini   
      
      
   start "" /wait   
   "\\in0114srv01\ElecCAD\ADW165_Installables\ADW165_KIT2_STSI\Hotf   
   x_SPB16.50.038_wint_1of1.exe" !quiet=\\in0114srv01\ElecCAD\AutoI   
   packaging\silent.ini   
      
   --   
   foxi   
      
   --- 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