Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Simple help required with Batch File

  • 07-04-2004 04: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, Registered Users 2, Paid Member Posts: 2,427 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    also the command to pause is.... pause


Advertisement