Re: start a program via a batch file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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"

--
Remove nospam for personal reply if responding via newsgroup.
"Ken Blake, MVP" <kblake@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OSHHMymuGHA.1296@xxxxxxxxxxxxxxxxxxxxxxx
niknik1971 wrote:

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 Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup



.



Relevant Pages

  • Re: start a program via a batch file
    ... the sql database to manual start and I use a batch file to start it ... I would like to add a command to start act 2006, but I need a pause ... Do you not know how to write a batch file? ... Pause command (type pause /? ...
    (microsoft.public.windowsxp.general)
  • Re: Copy a file accross a LAN during startup
    ... it still did not pause and wait for any key to be pressed. ... The items under both seem to fire at startup. ... > Then I would suggest that the batch file either did not run, ... >>> do this and put it in the startup folder of her computer. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Batch file fails strangely checking number of arguments
    ... I want to write a batch file to perform operations on one data file only. ... showing the warning or recognizing the "pause" command. ... echo Arguments OK. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Batch file fails strangely checking number of arguments
    ... path and filename with spaces intact but without quotation marks. ... And if anyone knows of a clear and complete book on DOS batch file ... showing the warning or recognizing the "pause" command. ... echo Arguments OK. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: rearrange toolbar?
    ... HotRod typed: ... single batch file in the Startup folder. ... and prompt you to "Press any key to continue" after each one. ...
    (microsoft.public.windowsxp.general)