Tech Support > Operating Systems > MS-DOS > How to run several commands in a batch file ?
How to run several commands in a batch file ?
Posted by - on May 7th, 2005



How do I run several commands in a batch file
with XP and SP2 ?

Without SP2 I could use 'START'.
But this dosn't work any more.

eg.
START "C:\directory\file.xls"
would work.
Now it sticks at a DOS window and nothing opens.

"C:\directory\file.xls"
will work but the following commands will not be executed
till the file is closed.
[as in the past]

If I try to circumvent using the utility
C:\windows\command\runfile "C:\directory\file.xls"
which worked in XP in the past,
it no longer works in SP2.

Does any one know how to accomplish running several commands
in SP2 ?

Thank you,
Emory

Posted by foxidrive on May 7th, 2005


On Sat, 7 May 2005 10:01:27 -0700, - wrote:

In NT the first quoted text is the title window text.

Try this

START "" "C:\directory\file.xls"

or

START "Happy Mothers Day" "C:\directory\file.xls"

Posted by - on May 7th, 2005


In article <1115485615.540dd9ba955bad82ca8648ec0bab0d65@teran ews>,
micm@melbpc.org.au.gotcha.invalid says...

YES !!!
Thank you foxidrive