• Batch File

    From Mike Dippel@21:4/176 to ALL on Tuesday, March 12, 2024 13:09:04
    I run Mystic on a home computer and occasionally I come home to find it down. Can
    someone help me create a batch file to restart it?

    I have the computer set to auto log in when restarted, but if the computer goes down on
    its own, there are still residual files in the c:\mystic\semaphore folder that need to be
    deleted so that mystic server can start.

    Any help would be appreciated.

    Mike Dippel

    --- Platinum Xpress/Win/WINServer v7.0
    * Origin: The Hobby Line! BBS - hobbylinebbs.com (21:4/176)
  • From Warpslide@21:3/110 to Mike Dippel on Tuesday, March 12, 2024 14:23:56
    On 12 Mar 2024, Mike Dippel said the following...

    I have the computer set to auto log in when restarted, but if the
    computer goes down on
    its own, there are still residual files in the c:\mystic\semaphore
    folder that need to be
    deleted so that mystic server can start.

    You could run this batch file on startup when your computer reboots:

    @ECHO OFF
    C:
    CD \MYSTIC
    IF EXIST C:\MYSTIC\SEMAPHORE\MIS.BSY DEL C:\MYSTIC\SEMAPHORE\MIS.BSY
    MYSTIC.EXE SERVER


    Jay

    ... Do you know grizzly's hibernate? Because they find winter unbearable

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: Northern Realms (21:3/110)
  • From Alonzo@21:1/130 to Mike Dippel on Tuesday, March 12, 2024 15:23:41
    What I did is, I created a little batch file called startbbs.bat and it deletes the old Mystic leftovers and starts the BBS. Very simple, really. Then add this batch file to your computer's startup sequence and you're ready to go - as long as your cvomputer doesn't go down and stay down. Not much you can do about that.

    ... Do vegetarians eat animal crackers?

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: From the depths of Bunker 3 (21:1/130)
  • From Mike Dippel@21:4/176 to Warpslide on Tuesday, March 12, 2024 17:09:26
    On 3/12/2024 2:27 PM, Warpslide wrote to Mike Dippel:

    On 12 Mar 2024, Mike Dippel said the following...

    I have the computer set to auto log in when restarted, but if the computer goes down on
    its own, there are still residual files in the c:\mystic\semaphore folder that need to be
    deleted so that mystic server can start.

    You could run this batch file on startup when your computer reboots:

    @ECHO OFF
    C:
    CD \MYSTIC
    IF EXIST C:\MYSTIC\SEMAPHORE\MIS.BSY DEL C:\MYSTIC\SEMAPHORE\MIS.BSY MYSTIC.EXE SERVER


    Jay

    I had to edit the last line to:
    mis server

    Although I had that line in the startup folder before, I can't find that folder now. CTRL
    ALT DELETE shows that it exists, but I can't figure out where the folder is.

    Any ideas?

    Mike Dippel

    --- Platinum Xpress/Win/WINServer v7.0
    * Origin: The Hobby Line! BBS - hobbylinebbs.com (21:4/176)
  • From Ricky DeLuco@21:1/136 to Mike Dippel on Tuesday, March 12, 2024 22:00:58
    Hi there ... Create a new Test File, Copy the below into this text file. save it and rename called BBS-Start.bat Place this Bat file in your windows Start Folder .... Reboot to rest it without stopping your Mystic. This will prove it removes the MIS.BSY files to start the MIS.EXE Server


    @echo Off
    cd\
    CD bbs\semaphore
    del *.* /Q
    cd\bbs
    mis.exe server

    N4TDX BBS - Telnet: n4tdx.ddns.net:2323
    FSXnet: 21:1/136 * Fidonet 1:135/383 * Micronet 618:250/35
    Titusville, FL.


    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: N4TDX BBS (21:1/136)
  • From Mike Dippel@21:4/176 to Ricky DeLuco on Wednesday, March 13, 2024 09:06:22
    On 3/12/2024 10:04 PM, Ricky DeLuco wrote to Mike Dippel:

    Hi there ... Create a new Test File, Copy the below into this text file. save
    it and rename called BBS-Start.bat Place this Bat file in your windows Start
    Folder .... Reboot to rest it without stopping your Mystic. This will prove
    it removes the MIS.BSY files to start the MIS.EXE Server


    @echo Off
    cd\
    CD bbs\semaphore
    del *.* /Q
    cd\bbs
    mis.exe server

    Thanks. I assume the del command is to remove any and all files from that folder? I
    currently have it just as del mis.bsy

    I will give that a try.

    Mike Dippel

    --- Platinum Xpress/Win/WINServer v7.0
    * Origin: The Hobby Line! BBS - hobbylinebbs.com (21:4/176)