...
> 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.9...@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