Re: Batch File execution problems



From: "Brad Morris" <bradmorris@xxxxxxxxx>

| Can anyone tell me why this batch file won't load each of the files in
| order?
|
| It doesnt seem to do anything (other than a command line propmpt flashes on
| the screen and disappears BUT nothing loads).
|
| ::start.bat
| ::starts multiple programs
| ::
| @echo off
|
| START"""C:\Program Files\QuickVerse Sermon Builder 4\qvsb4.exe"
| START"""C:\Program Files\PC Magazine Utilities\Winpointer\WinPointer.exe"
| START"""C:\Program Files\WordPerfect Office 12\Programs\wpwin12.exe"
|
| Thanks
|


Change it to...

@echo off
START /wait "C:\Program Files\QuickVerse Sermon Builder 4\qvsb4.exe"
START /wait "C:\Program Files\PC Magazine Utilities\Winpointer\WinPointer.exe"
START /wait "C:\Program Files\WordPerfect Office 12\Programs\wpwin12.exe"

The above will run each utility one at a time. The second won't start until the first one
ends and the third won't start until the second one ends.

If you don't want to wait between each utility being loaded...

@echo off
START /min "C:\Program Files\QuickVerse Sermon Builder 4\qvsb4.exe"
START /min "C:\Program Files\PC Magazine Utilities\Winpointer\WinPointer.exe"
START /min "C:\Program Files\WordPerfect Office 12\Programs\wpwin12.exe"

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


.



Relevant Pages

  • Re: Batch File execution problems
    ... > Can anyone tell me why this batch file won't load each of the files in ... >::starts multiple programs ... > @echo off ...
    (microsoft.public.windowsxp.general)
  • Batch File execution problems
    ... Can anyone tell me why this batch file won't load each of the files in ... It doesnt seem to do anything (other than a command line propmpt flashes on ...
    (microsoft.public.windowsxp.general)
  • Re: Persisting env vars in cmd windows
    ... The help text for the command you question goes like this: ... format by typing this: echo %date% ... If you don't then the batch file will fail. ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)
  • Re: Win2000 Printing Nightmare
    ... Purge the print spooler, to do so at a command prompt issue the ... You can make a small batch file to do the above job, ... @echo off ... ping localhost -n 4> nul ...
    (microsoft.public.win2000.file_system)
  • Re: logging batch files
    ... @echo off ... REM the start of your batch file ... >set LogCmd= ... >:LogIt ...
    (microsoft.public.win2000.cmdprompt.admin)

Loading