start "c:\Program Files\Autospell50\sswatc32.exe"
start "c:\Program Files\Windows NT\Accessories\wordpad.exe"
^ 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
@echo off
Should be:
@echo off
start c:\progra~1\autosp~1\sswatc32.exe
start c:\progra~1\window~1\access~1\wordpad.exe
"Khoury" <kho...@itcom.net> wrote in message
news:PhCU8.205$_b2...@nwrddc03.gnilink.net...
Regards Ctrl Alt Delete
"Khoury" <kho...@itcom.net> skrev i en meddelelse
news:PhCU8.205$_b2...@nwrddc03.gnilink.net...
"Ctrl Alt Delete" <ctrl_alt...@hotmail.com> wrote in message
news:TIHW8.196$QP6....@news010.worldonline.dk...
> 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
^ 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
"Frank " <vocox...@nqrnmbqnvnyeoclh.com> wrote in message
news:01c227aa$ab3c3b10$0125250a@nqrnmbqnvnyeoclh...
^ This didn't work either
Boo-hoo. Take your computer to a store and pay them to do it for you.
Frank