You generally use CALL to load another batch file. Its generally not
necessary for EXE files. A VB Script is a bit cleaner, without the command
prompt window opening.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("explorer.exe",1)
WshShell.Run("C:\Program Files\America Online 9.0\aol.exe",1)
WshShell.Run("C:\Program Files\Microsoft Office\Office\EXCEL.EXE",1)
WshShell.Run("C:\Program Files\mozilla.org\Mozilla\mozilla.exe -mail",1)
WshShell.Run("C:\Program Files\Palm\palm.exe",1)
You may need to play with the command line for Mozilla to get it to work. I
don't have it installed, so can't test it. Just copy the above to Notepad
and save the file with a VBS extension.
--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone -
http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Tom" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
news:0d1501c3a9f1$2221d180$a401280a@phx.gbl...
> I'm trying to set up a batch file (text below) that starts
> a bunch of my "usual suspect" apps. Excel (and Mozilla for
> that matter) doesn't appear to return control to the
> command processor, so the batch file stops running (e.g.
> if I close Excel, THEN Mozilla opens!). I don't want to
> put all these in startup because I don't want them loading
> unless I request it. Thanks....
>
>
> Call "%SystemRoot%\explorer.exe"
> Call "C:\Program Files\America Online 9.0\aol.exe"
> Call "C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
> call "C:\Program Files\mozilla.org\Mozilla\mozilla.exe" -
> mail
> call "C:\Program Files\Palm\palm.exe"