start a program via a batch file

  • Thread starter Thread starter niknik1971
  • Start date Start date
N

niknik1971

I have a program (act 2006) which I wish to start via a batch file.
The reason I want to start the program this way is because I have set the
sql database to manual start and I use a batch file to start it using net
start.

I would like to add a command to start act 2006, but I need a pause to let
the sql to start up properly.

Any help or info would be greatly appreciated.

NIK
 
niknik1971 said:
I have a program (act 2006) which I wish to start via a batch file.
The reason I want to start the program this way is because I have set the
sql database to manual start and I use a batch file to start it using net
start.

I would like to add a command to start act 2006, but I need a pause to let
the sql to start up properly.

Any help or info would be greatly appreciated.

NIK

You could do something like this:
@echo off
"c:\program files\act 2006\act.exe"
ping localhost -n 300 > nul
"c:\program files\some other program.exe"
 
niknik1971 said:
I have a program (act 2006) which I wish to start via a batch file.
The reason I want to start the program this way is because I have set
the sql database to manual start and I use a batch file to start it
using net start.

I would like to add a command to start act 2006, but I need a pause
to let the sql to start up properly.

Any help or info would be greatly appreciated.


You've stated what you want to do, but I'm confused at what your problem is.
Do you not know how to write a batch file? Do you not know how to use the
Pause command (type pause /? for help with it).
 
Ken I can do simple (and I mean simple) things in a batch file.
I use the pause command in another batch file, the trouble is I need a pause
for X amount of minutes before act 2006 starts and when I use the pause
command it just pauses till a key is pressed.

NIK

P.S I typed pause/? and this came up "Suspends processing of a batch program
and displays the message
Press any key to continue . . ." ... "this is not much help"
 
P.S

I need the sql server to start up first and then act 2006 once the sql
server has started up properly

NIK

--
Remove nospam for personal reply if responding via newsgroup.
niknik1971 said:
Ken I can do simple (and I mean simple) things in a batch file.
I use the pause command in another batch file, the trouble is I need a
pause for X amount of minutes before act 2006 starts and when I use the
pause command it just pauses till a key is pressed.

NIK

P.S I typed pause/? and this came up "Suspends processing of a batch
program and displays the message
Press any key to continue . . ." ... "this is not much help"
 
Back
Top