Re: Launching Multiple Programs From A Command Prompt Script

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: WorldNet User (WorldNetUser_at_att.net)
Date: 09/13/04


Date: Mon, 13 Sep 2004 04:05:42 GMT

Yes, that worked. Thanks. The trick seemed to be to add the extra sets of
quotes "" before the quotes containing the actual executable name, and I am
curious to know why those extra ones make it work. When I did not have
those extra quotes, it did not work.

"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:OJu2w#RmEHA.592@TK2MSFTNGP11.phx.gbl...
> I do not have any of these programs. It worked with three I do have.
> Try this.............
>
> start "" "C:\Program Files\AIM\aim.exe"
> start "" "C:\Program Files\Yahoo!\Messenger\YPager.exe"
> start "" "C:\Program Files\MSN Messenger\msnmsgr.exe"
>
> --
> Hope this helps. Let us know.
> Wes
>
> In news:GT01d.353859$OB3.290326@bgtnsc05-news.ops.worldnet.att.net,
> WorldNet User <WorldNetUser@att.net> hunted and pecked:
> > I would like to launch multiple programs from a command prompt script
> > (in Windows XP Home Edition). For example, I have three instant
> > messenger programs and want to launch them all from a script called
> > im.bat.
> >
> > So I put the following three lines into IM.bat, but launching it this
> > way, the script will not execute the second line until the first
> > program is closed.
> >
> > "C:\Program Files\AIM\aim.exe"
> > "C:\Program Files\Yahoo!\Messenger\YPager.exe"
> > "C:\Program Files\MSN Messenger\msnmsgr.exe"
> >
> > I tried putting start at the beginning of each line, but with that
> > variant, none of the three programs executed.
> >
> > What needs to be done to fix this script?



Relevant Pages

  • Re: basic help to run an application from WSH
    ... string values must be enclosed in quotes. ... The Run method will execute on c:\notepad.exe. ... I'm just learning vbscript for wsh and here is my first script, ... Also if I cut and paste the exact file path from the script into the ...
    (microsoft.public.scripting.vbscript)
  • Re: basic help to run an application from WSH
    ... The Run method requires at least one argument, which is a string. ... string values must be enclosed in quotes. ... The Run method will execute on c:\notepad.exe. ... I'm just learning vbscript for wsh and here is my first script, ...
    (microsoft.public.scripting.vbscript)
  • Re: [PHP] Not Null?
    ... I have a script that looks for the variable to be NULL and then execute.. ... Steve, use regular single or double quotes, not any kind of fancy ... Microsoft Word or another similar word processor, ...
    (php.general)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • Re: Small, understandable Forth
    ... intelligence from the word to the script. ... niclos file script files, but only in the directory in which they are ... \ there are required support vocabularies, ... RDROP EXECUTE DEFINITIONS; ...
    (comp.lang.forth)