Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I cant run Multiple Programs With One Icon

2 views
Skip to first unread message

Khoury

unread,
Jul 3, 2002, 8:41:19 AM7/3/02
to
I am trying to create a batch file that will run 2 programs at once. I've
never really made a batch file before and was told they do not work in
win2000. Then I was told they could so I researched and found out about this
newsgroup. If anyone has any idea on how I can do this I would appreciate
their thoughts. Here is what the batch file looks like so far:

start "c:\Program Files\Autospell50\sswatc32.exe"
start "c:\Program Files\Windows NT\Accessories\wordpad.exe"

kho...@itcom.net


Frank

unread,
Jul 3, 2002, 1:43:17 PM7/3/02
to
Khoury <PhCU8.205$_b2...@nwrddc03.gnilink.net>...

^ I am trying to create a batch file that will run 2 programs at once.

^ start "c:\Program Files\Autospell50\sswatc32.exe"
^ start "c:\Program Files\Windows NT\Accessories\wordpad.exe"

I don't have Windows 2000 but the problem may be that START thinks the
quoted string is a window title. See START/?. If this is the problem then
you can easily outsmart it by giving it something else to chew on:

start "Chew on This" "c:\Program Files\Autospell50\sswatc32.exe"
start "This Too" "c:\Program Files\Windows NT\Accessories\wordpad.exe"

Frank

.bat

unread,
Jul 3, 2002, 3:14:07 PM7/3/02
to
That's right. Just be sure to add "@echo off" at the beginning, so no
ugly text is displayed. It would look like this:

@echo off

.bat

unread,
Jul 3, 2002, 4:06:43 PM7/3/02
to
> start "c:\Program Files\Autospell50\sswatc32.exe"
> start "c:\Program Files\Windows NT\Accessories\wordpad.exe"

Should be:

@echo off
start c:\progra~1\autosp~1\sswatc32.exe
start c:\progra~1\window~1\access~1\wordpad.exe

.bat

unread,
Jul 3, 2002, 9:57:37 PM7/3/02
to
Sorry, started new thread somehow. Ignore this.

Khoury

unread,
Jul 4, 2002, 4:41:51 AM7/4/02
to
Thanks a lot guys but no cigar. It just pops a window for a millisecond and
then disappears.

"Khoury" <kho...@itcom.net> wrote in message
news:PhCU8.205$_b2...@nwrddc03.gnilink.net...

Ctrl Alt Delete

unread,
Jul 9, 2002, 4:29:49 PM7/9/02
to
Hi khoury
Maybe U can use "CALL" instead of "start"

Regards Ctrl Alt Delete

"Khoury" <kho...@itcom.net> skrev i en meddelelse
news:PhCU8.205$_b2...@nwrddc03.gnilink.net...

Khoury

unread,
Jul 9, 2002, 6:17:52 PM7/9/02
to
Thanks but no luck. Is there a specific place I have to run it from? I am
such a newb, maybe when you guys tell me what to do you can include the
whole text on how it will look. Is there a certain program I should be using
besides notepad? Sorry guys.

"Ctrl Alt Delete" <ctrl_alt...@hotmail.com> wrote in message
news:TIHW8.196$QP6....@news010.worldonline.dk...

Paul Batchie

unread,
Jul 9, 2002, 6:28:42 PM7/9/02
to
Khoury wrote:

> Thanks a lot guys but no cigar. It just pops a window for a millisecond and
> then disappears.

Open a command window in the batch file's folder, and fire the
file from there. The window will stay open and you can read the
error message.

--
Paul

Frank

unread,
Jul 9, 2002, 8:41:46 PM7/9/02
to
Khoury <PhCU8.205$_b2...@nwrddc03.gnilink.net>...
^ I am trying to create a batch file that will run 2 programs at once.

^ start "c:\Program Files\Autospell50\sswatc32.exe"
^ start "c:\Program Files\Windows NT\Accessories\wordpad.exe"

Khoury <kiJW8.26445$5f3....@nwrddc01.gnilink.net>...
^ ... maybe when you guys tell me what to do you can include the
^ whole text on how it will look.

You will have a text file with, at minimum, the following contents:

START "SSWATC32" "c:\Program Files\Autospell50\sswatc32.exe"
START "WORDPAD" "c:\Program Files\Windows NT\Accessories\wordpad.exe"
PAUSE

Save the file someplace. NotePad would make a better text editor than
Wordpad for this. If you will be running it from the command line then the
batch file needs to be in your path. If you don't know of a better place
for it, save it in C:\WINNT. In fact, for this description, let's say you
save it as "C:\WINNT\SpellPad.cmd". You may be familiar with the ".BAT"
extension but this may be telling your system to use the wrong command
interpreter. You want to use the Windows NT command interpreter (CMD.EXE)
not the MSDOS command interpreter (COMMAND.COM). I don't have Windows 2000
so I'm playing it safe here.

I assume you want a shortcut for this batch file on your desktop. Open
Windows NT Explorer (not Internet Explorer) and navigate to C:\WINNT.
Locate SpellPad.cmd, click and hold it with the RIGHT mouse button, and
drag it to your desktop. When you let go of the button a menu will appear
with several choices. Choose "Create shortcut(s) here".

You should now have a new icon on your desktop that points to your batch
file. When you double-click this icon the batch file will be executed (run,
not killed).

The PAUSE command in the script is so that the window won't disappear until
you press a key. If the programs fail to run you should now be able to read
any error messages. If everything is working fine you can remove the PAUSE
command from the script. If it doesn't work fine then handle the errors
(that may mean posting them here).

It is possible that your sswatc32.exe program is causing problems. If you
just upgraded from MSDOS (Windows 9x) then it may be a
terminate-stay-resident (TSR) that won't function properly in Windows 2000.
But I think WordPad would still run even if sswatc32.exe failed.

You should also double check the exact paths on these programs. "c:\Program
Files\Windows NT\Accessories\wordpad.exe" is not the default path for
WordPad on my system but I don't know where Windows 2000 has things. One
way to get the exact path is to open a console (CMD.EXE) and open Windows
NT Explorer to the file. Then drag the file into the console window. The
full file name will be pasted in the console window and you can easily copy
it with your mouse (the console windows properties must be set for "Quick
Edit Mode" for this to work).

C:\WINNT is not a good place to be dumping all your batch files so after
this one you should find out how to create a better location and how to
make sure that it's in your path.

Frank

Khoury

unread,
Jul 14, 2002, 5:10:16 PM7/14/02
to
This didn't work either

"Frank " <vocox...@nqrnmbqnvnyeoclh.com> wrote in message
news:01c227aa$ab3c3b10$0125250a@nqrnmbqnvnyeoclh...

Frank

unread,
Jul 14, 2002, 6:24:11 PM7/14/02
to
Khoury <YMlY8.24$2v1...@nwrddc01.gnilink.net>...

^ This didn't work either

Boo-hoo. Take your computer to a store and pay them to do it for you.

Frank

0 new messages