• Trying to run batch file on logoff event

    From Booch@1:103/705 to All on Fri Aug 19 10:11:23 2022
    Hi everyone!

    I'm trying to configure Synchronet 3.18a to run a batch file on logoff event for any node and cannot seem to get it work. The batch file runs fine when running it by hand. I'm hoping for some help! I'm sure I'm doing something wrong...

    Presently, in External Programs -> Fixed Events -> Logout Event I have 'sftpbb' entered. in External Programs -> Online Program Sections -> 'Programs' -> Available Online Programs -> 'sftpbb' is the following:

    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute No
    Modify User Data No
    Execute on Event Logoff, Only
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory

    I've monkeyed with some of the settings without any luck. The batch file is located at c:\sbbs\

    Any help would be appreciated very much!
    Thanks,
    - Booch
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Fri Aug 19 12:20:20 2022
    Re: Trying to run batch file on logoff event
    By: Booch to All on Fri Aug 19 2022 10:11 am

    Hi everyone!

    I'm trying to configure Synchronet 3.18a to run a batch file on logoff event for any node and cannot seem to get it work. The batch file runs fine when running it by hand. I'm hoping for some help! I'm sure I'm doing something wrong...

    Presently, in External Programs -> Fixed Events -> Logout Event I have 'sftpbb' entered. in External Programs -> Online Program Sections -> 'Programs'
    Available Online Programs -> 'sftpbb' is the following

    You would want to configure this in one of those places, not both.


    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute No
    Modify User Data No
    Execute on Event Logoff, Only
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory

    If you change that Eexecut on Event to "Logoff" (remove "Only"), are then able to run it successfully from the external programs menu when logged into the BBS?

    I've monkeyed with some of the settings without any luck. The batch file is located at c:\sbbs\

    Any help would be appreciated very much!

    What does the batch file do? How do you know it's not running?
    --
    digital man (rob)

    Sling Blade quote #7:
    Karl: I don't reckon the Good Lord would send anybody like you to Hades.
    Norco, CA WX: 85.2ψF, 42.0% humidity, 6 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Fri Aug 19 14:56:35 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Fri Aug 19 2022 12:20 pm

    Re: Trying to run batch file on logoff event
    By: Booch to All on Fri Aug 19 2022 10:11 am

    If you change that Eexecut on Event to "Logoff" (remove "Only"), are then able to run it successfully from the external programs menu when logged into the BBS?
    What does the batch file do? How do you know it's not running?

    Hi DM! A pleasure to talk to you.
    Ok, just tried that "remove 'Only'". Unfortunately, didn't seem to work after testing logon / logoff.

    The batch file runs winscp from the cli and uploads a file to a different server. Any other ideas? Thanks for the help.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Fri Aug 19 15:15:27 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Fri Aug 19 2022 02:56 pm

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Fri Aug 19 2022 12:20 pm

    Re: Trying to run batch file on logoff event
    By: Booch to All on Fri Aug 19 2022 10:11 am

    If you change that Eexecut on Event to "Logoff" (remove "Only"), are then able to run it successfully from the external programs menu when logged into the BBS?
    What does the batch file do? How do you know it's not running?

    Hi DM! A pleasure to talk to you.
    Ok, just tried that "remove 'Only'". Unfortunately, didn't seem to work after testing logon / logoff.

    What do you mean - It didn't show up on the external programs menu or what? "didn't seem to work" doesn't tell me enough to go off of.

    The batch file runs winscp from the cli and uploads a file to a different server. Any other ideas? Thanks for the help.

    The second part of that question was: how do you know it's not running?
    --
    digital man (rob)

    Synchronet "Real Fact" #30:
    The COM I/O routines for Synchronet for DOS were written in ASM by Steve Deppe Norco, CA WX: 90.8ψF, 38.0% humidity, 9 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Sat Aug 20 07:43:18 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Fri Aug 19 2022 03:15 pm

    Ok, just tried that "remove 'Only'". Unfortunately, didn't seem to work after testing logon / logoff.

    What do you mean - It didn't show up on the external programs menu or what? "didn't seem to work" doesn't tell me enough to go off of.
    I removed the "Only" part. Here's the config:
    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute No
    Modify User Data No
    Execute on Event Logoff
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory
    The batch file runs winscp from the cli and uploads a file to a different server. Any other ideas? Thanks for the help.

    The second part of that question was: how do you know it's not running?
    I load the file the batch file would upload and it is unchanged.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Booch on Sat Aug 20 10:23:00 2022
    Booch wrote to Digital Man <=-

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Fri Aug 19 2022 03:15 pm

    Ok, just tried that "remove 'Only'". Unfortunately, didn't seem to work after testing logon / logoff.

    What do you mean - It didn't show up on the external programs menu or what? "didn't seem to work" doesn't tell me enough to go off of.
    I removed the "Only" part. Here's the config:
    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute No
    Modify User Data No
    Execute on Event Logoff
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory
    The batch file runs winscp from the cli and uploads a file to a different server. Any other ideas? Thanks for the help.

    The second part of that question was: how do you know it's not running?
    I load the file the batch file would upload and it is unchanged.

    Not sure, but I'd try setting the "Use Shell to Execute" to 'Yes'.



    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Linux v0.52
    ώ Synchronet ώ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Sat Aug 20 11:55:27 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Sat Aug 20 2022 07:43 am

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Fri Aug 19 2022 03:15 pm

    Ok, just tried that "remove 'Only'". Unfortunately, didn't seem to work after testing logon / logoff.

    What do you mean - It didn't show up on the external programs menu or what? "didn't seem to work" doesn't tell me enough to go off of.
    I removed the "Only" part. Here's the config:
    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute No
    Modify User Data No
    Execute on Event Logoff
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory


    When you logon to the BBS and got to the external programs section, can you run it from there?

    The batch file runs winscp from the cli and uploads a file to a different server. Any other ideas? Thanks for the help.

    The second part of that question was: how do you know it's not running?
    I load the file the batch file would upload and it is unchanged.

    Try adding a 'pause' to the batch file (as a test measure), so it'll stick around waiting for a key-press. That'd be a better way to determine if it's running. However, it's just a 1-line batch file, then you don't need the batch file at all. Just have SBBS execute the command-line you want directly.
    --
    digital man (rob)

    Rush quote #74:
    A modern-day warrior mean, mean stride, today's Tom Sawyer, mean, mean pride Norco, CA WX: 80.2ψF, 61.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Gamgee on Sat Aug 20 11:57:55 2022
    Re: Re: Trying to run batch file on logoff event
    By: Gamgee to Booch on Sat Aug 20 2022 10:23 am

    Command Line sftpbb.bat

    Not sure, but I'd try setting the "Use Shell to Execute" to 'Yes'.

    That's a good point, you need the shell to execute batch files.
    --
    digital man (rob)

    Rush quote #59:
    He's got a force field and a flexible plan, got a date w/fate in a black sedan Norco, CA WX: 81.2ψF, 60.0% humidity, 9 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Mon Aug 22 08:06:51 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Sat Aug 20 2022 11:55 am

    When you logon to the BBS and got to the external programs section, can you run it from there?
    Try adding a 'pause' to the batch file (as a test measure), so it'll stick around waiting for a key-press. That'd be a better way to determine if it's running. However, it's just a 1-line batch file, then you don't need the batch file at all. Just have SBBS execute the command-line you want directly.

    Yes, I added the pause to the batch file and run it manually from the programs section with success. I open the console and press space to return control to the user. I check the remote server and see the file is uploaded.
    Log:
    8/22 09:48:58a Node 1 <Booch> running external program: sftpbb
    8/22 09:48:58a Node 1 <Booch> Executing external: sftpbb.bat

    I then make a minor, easily findable change to the file, then logoff.
    Log:
    8/22 09:50:14a Node 1 <Booch> logout initiated
    8/22 09:50:14a Node 1 input thread terminated (received 122 bytes in 29 blocks)
    8/22 09:50:14a Node 1 output thread terminated (sent 31999 bytes in 59 blocks, 542 average, 0 short)
    8/22 09:50:14a Node 1 <Booch> executing logout event: sftpbb
    8/22 09:50:14a Node 1 <Booch> Executing external: sftpbb
    8/22 09:50:14a Node 1 <Booch> logout completed
    There is no console waiting for a keypress. I check the remote file. The file was not uploaded.

    Regarding running the command directly instead of a batch file, I can try that if necessary. It looks like the problem is the logoff event isn't working for some reason.

    This is what I have for fixed events:
    Fixed Events
    ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    Logon Event
    Logout Event sftpbb
    Daily Event

    - Booch
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Mon Aug 22 12:03:25 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Mon Aug 22 2022 08:06 am

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Sat Aug 20 2022 11:55 am

    When you logon to the BBS and got to the external programs section, can you run it from there?
    Try adding a 'pause' to the batch file (as a test measure), so it'll stick around waiting for a key-press. That'd be a better way to determine if it's running. However, it's just a 1-line batch file, then you don't need the batch file at all. Just have SBBS execute the command-line you want directly.

    Yes, I added the pause to the batch file and run it manually from the programs section with success. I open the console and press space to return control to the user. I check the remote server and see the file is uploaded. Log:
    8/22 09:48:58a Node 1 <Booch> running external program: sftpbb
    8/22 09:48:58a Node 1 <Booch> Executing external: sftpbb.bat

    I then make a minor, easily findable change to the file, then logoff.
    Log:
    8/22 09:50:14a Node 1 <Booch> logout initiated
    8/22 09:50:14a Node 1 input thread terminated (received 122 bytes in 29 blocks)
    8/22 09:50:14a Node 1 output thread terminated (sent 31999 bytes in 59 blocks, 542 average, 0 short)
    8/22 09:50:14a Node 1 <Booch> executing logout event: sftpbb
    8/22 09:50:14a Node 1 <Booch> Executing external: sftpbb
    8/22 09:50:14a Node 1 <Booch> logout completed
    There is no console waiting for a keypress. I check the remote file. The file was not uploaded.

    Regarding running the command directly instead of a batch file, I can try that if necessary. It looks like the problem is the logoff event isn't working for some reason.

    This is what I have for fixed events:
    Fixed Events
    ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    Logon Event
    Logout Event sftpbb
    Daily Event

    Remove it from there (as I told you previously).

    I asked you to run it from the external programs menu as a test. Did you?

    Did you set the "Use Shell to Execute" option to "Yes" in SCFG as was previously requested?
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #63:
    RIP = Remote Imaging Protocol (e.g. RIPscrip)
    Norco, CA WX: 80.4ψF, 63.0% humidity, 2 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Tue Aug 23 06:53:50 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Mon Aug 22 2022 12:03 pm

    Did you set the "Use Shell to Execute" option to "Yes" in SCFG as was previously requested?
    No, I saw that another user asked that, but didn't know if you wanted me to do that or not. I just tried now and get the same behavior (Works fine when manually run, but does not run on logout).

    Here's the config:
    sftpbb
    ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    Name sftpbb
    Internal Code SFTPBB
    Start-up Directory ..\
    Command Line sftpbb.bat
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users No
    Intercept I/O No
    Native Executable Yes
    Use Shell to Execute Yes
    Modify User Data No
    Execute on Event Logoff
    Pause After Execution No
    BBS Drop File Type None
    Place Drop File In Node Directory

    - Booch
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Tue Aug 23 09:42:29 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Tue Aug 23 2022 06:53 am

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Mon Aug 22 2022 12:03 pm

    Did you set the "Use Shell to Execute" option to "Yes" in SCFG as was previously requested?
    No, I saw that another user asked that, but didn't know if you wanted me to do that or not. I just tried now and get the same behavior (Works fine when manually run, but does not run on logout).

    When you say "manually run", do you mean from the External Progarms menu? Because that's the question I'm currently asking:
    If you try to run it from the external programs menu, while logged into the BBS, does it work then?
    --
    digital man (rob)

    Breaking Bad quote #32:
    Don't think so hard it's gonna hurt your brain! - Hank Schrader
    Norco, CA WX: 73.6ψF, 75.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Tue Aug 23 17:28:49 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Tue Aug 23 2022 09:42 am

    When you say "manually run", do you mean from the External Progarms menu? Because that's the question I'm currently asking:
    If you try to run it from the external programs menu, while logged into the BBS, does it work then?
    Yes, that is what I mean. Also, it works either way with Use Shell to Execute set to Yes or No.
    It does not run when I logout.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Tue Aug 23 18:11:07 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Tue Aug 23 2022 05:28 pm

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Tue Aug 23 2022 09:42 am

    When you say "manually run", do you mean from the External Progarms menu? Because that's the question I'm currently asking:
    If you try to run it from the external programs menu, while logged into the BBS, does it work then?
    Yes, that is what I mean. Also, it works either way with Use Shell to Execute set to Yes or No.
    It does not run when I logout.

    How are you logging out? If you use fast-logoff (e.g. '/O' with the classic command shell), external progarm logoff-events don't run - they only run when performing a normal, graceful log-off ('O' with the classic command shell).

    If you want an event that runs regardless upon every logout (graceful or fast or whatever), then you want to use the fixed logout event instead (remove this progarm from your online program list). And if it's a native (not 16-bit DOS) program, then you'd need to add the program name to your SCFG->External Programs->Native Program List as well.
    --
    digital man (rob)

    Breaking Bad quote #11:
    My apologies to the HR department: Grow tumescent with anticipation. - Hank Norco, CA WX: 83.8ψF, 55.0% humidity, 11 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Thu Aug 25 09:29:52 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Tue Aug 23 2022 06:11 pm

    How are you logging out? If you use fast-logoff (e.g. '/O' with the classic command shell), external progarm logoff-events don't run - they only run when performing a normal, graceful log-off ('O' with the classic command shell).
    I took a look at the Baja and it runs logoff_fast when a user chooses to logoff, so that explains why the logoff event wasn't firing, thanks.

    If you want an event that runs regardless upon every logout (graceful or fast or whatever), then you want to use the fixed logout event instead (remove this progarm from your online program list). And if it's a native (not 16-bit DOS) program, then you'd need to add the program name to your SCFG->External Programs->Native Program List as well.
    I'll monkey with this more and see if I can get it working. I currently have it set to:
    Fixed Events ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    Logon Event
    Logout Event c:\sbbs\sftpbb.bat
    Daily Event

    As you suggested I will also try adding the com file the batch file runs if this doesn't work. Thanks for the help.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Thu Aug 25 12:13:34 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Thu Aug 25 2022 09:29 am

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Tue Aug 23 2022 06:11 pm

    How are you logging out? If you use fast-logoff (e.g. '/O' with the classic command shell), external progarm logoff-events don't run - they only run when performing a normal, graceful log-off ('O' with the classic command shell).
    I took a look at the Baja and it runs logoff_fast when a user chooses to logoff, so that explains why the logoff event wasn't firing, thanks.

    Which "Baja" [.src file] are you referring to?

    If you want an event that runs regardless upon every logout (graceful or fast or whatever), then you want to use the fixed logout event instead (remove this progarm from your online program list). And if it's a native (not 16-bit DOS) program, then you'd need to add the program name to your SCFG->External Programs->Native Program List as well.
    I'll monkey with this more and see if I can get it working. I currently have it set to:
    Fixed Events ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    Logon Event
    Logout Event c:\sbbs\sftpbb.bat
    Daily Event

    As you suggested I will also try adding the com file the batch file runs if this doesn't work. Thanks for the help.

    You would also need to add "sftpbb.bat" to your native program list, like I mentioned. Did you do that?
    --
    digital man (rob)

    Synchronet "Real Fact" #62:
    Name of Synchronet PCMS compiler/language "Baja" was coined by Michael Swindell Norco, CA WX: 87.9ψF, 44.0% humidity, 6 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Booch on Thu Aug 25 14:27:00 2022
    Booch wrote to Digital Man <=-

    How are you logging out? If you use fast-logoff (e.g. '/O' with the classic command shell), external progarm logoff-events don't run - they only run when performing a normal, graceful log-off ('O' with the classic command shell).

    I took a look at the Baja and it runs logoff_fast when a user
    chooses to logoff, so that explains why the logoff event wasn't
    firing, thanks.

    The classic/default command shell is most certainly not doing that,
    unless you have edited it to do so. The 'O' key calls 'logoff', and the
    '/O' key combo calls 'logoff_fast'.



    ... All the easy problems have been solved.
    --- MultiMail/Linux v0.52
    ώ Synchronet ώ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Booch@1:103/705 to Digital Man on Thu Aug 25 14:56:33 2022
    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Thu Aug 25 2022 12:13 pm

    Which "Baja" [.src file] are you referring to?
    default.src
    You would also need to add "sftpbb.bat" to your native program list, like I mentioned. Did you do that?
    Yes, that is added to the Native Program List.
    After entering c:\sbbs\sftpbb.bat into the Fixed Events -> Logout Event, it worked! I'm all set now. Thanks for the help.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Booch on Thu Aug 25 16:57:33 2022
    Re: Trying to run batch file on logoff event
    By: Booch to Digital Man on Thu Aug 25 2022 02:56 pm

    Re: Trying to run batch file on logoff event
    By: Digital Man to Booch on Thu Aug 25 2022 12:13 pm

    Which "Baja" [.src file] are you referring to?
    default.src

    In default.src, logoff_fast is only called when '/O' is used to log-off (fast).

    You would also need to add "sftpbb.bat" to your native program list, like I mentioned. Did you do that?
    Yes, that is added to the Native Program List.
    After entering c:\sbbs\sftpbb.bat into the Fixed Events -> Logout Event, it worked! I'm all set now. Thanks for the help.

    Okay, good.
    --
    digital man (rob)

    This Is Spinal Tap quote #6:
    David St. Hubbins: He was the patron saint of quality footwear.
    Norco, CA WX: 88.6ψF, 46.0% humidity, 14 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)