Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Simple help required with Batch File

Options
  • 07-04-2004 4:27pm
    #1
    Closed Accounts Posts: 62 ✭✭


    I need some help with the contents of a batch file. The contents of it are below:-

    _________________________________________________________

    @echo off
    ::Just a batch job that could make a stoping, reseting and restarting simplier


    REM This script stops, resets and restarts the Application Database


    C:\..\Runtime\StopServer.bat

    ::RETURN KEY OR ANY OTHER KEY TO BE HIT
    ::AND NEXT BATCH JOB RAN

    C:\..\Runtime\ResetDatabase.bat


    ::RETURN KEY OR ANY OTHER KEY TO BE HIT
    ::AND NEXT BATCH JOB RAN

    C:\..\Runtime\StartServer.bat


Comments

  • Registered Users Posts: 2,426 ✭✭✭ressem


    I guess that this is part of a social services package
    http://www.curamsoftware.com/wica.html
    so why are you changing it, and specifically what help do you need?

    Is something failing?

    It just runs one batch command after another, according to the comments, to restart some application.
    Beyond that you need to look at the contents of stopserver.bat , resetdatabase.bat, startserver.bat

    Just make sure that you keep a copy of all files before starting.


  • Registered Users Posts: 1,931 ✭✭✭Zab


    When you are running the other batch files, you need to "call" them, or they will not return control to the calling batch file.

    i.e.
    call C:\Curam\Runtime\StopServer.bat

    Zab.


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    also the command to pause is.... pause


Advertisement