Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Batch file not running to completion

 
   Windows (Home) -> Customize RSS
Next:  User Desktops  
Author Message
Tom

External


Since: Oct 01, 2004
Posts: 148



(Msg. 1) Posted: Thu Nov 13, 2003 6:19 am
Post subject: Batch file not running to completion
Archived from groups: microsoft>public>windowsxp>customize (more info?)

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"
Back to top
Login to vote
Doug Knox MS-MVP

External


Since: Nov 14, 2004
Posts: 179



(Msg. 2) Posted: Thu Nov 13, 2003 11:15 am
Post subject: Re: Batch file not running to completion [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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"
Back to top
Login to vote
anonymous

External


Since: Sep 21, 2004
Posts: 2763



(Msg. 3) Posted: Thu Nov 13, 2003 7:38 pm
Post subject: Re: Batch file not running to completion [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

THANKS!
>-----Original Message-----
>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"
>
>
>.
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How do I keep from running programs as soon as I log on? - As soon as everything finishes loading from when I first turn on my PC, it starts running programs. Like it starts dialing my internet and my adaware program starts running. How do I keep XP from doing this? It drives my crazy!! Thanks.

Change default file view - How do I change the default file view to show details in Windows Explorer. Can I also change this in Excel XP when I open a file? The current view shows icons and this is driving me nuts!

"E-mail this file"..Using MSN email - Windows XP has a great feature for novice users where they can select a picture and click 'e-mail this file' from the task group at the left of the explorer window. How do you get XP to open the MSN email program instead of the default Outlook expres...

desktop icon are gone. - Well i would like to ask anyone tha treads this board if they can help me recover my desktop icons that disappeared from my desktop. I cant see them. cant even right click on the desktop so they will show up. I have to do control Alt delete and go to fil...

getting frustrated - OK, maybe I'm not explaining this right. I have Windows XP installed on my computer at work. Not my choice but I have to live with it. I've added an address bar to my taskbar, so I can type in a URL without having to launch IE first. I have the same....
       Windows (Home) -> Customize All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
  Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact