• running a .bat file

    From Internetking@1:103/705 to all on Sun Oct 1 01:19:18 2017
    how do i run a batch file...

    it keep saying not found or something...

    9/30 11:51:28p Node 1 !ERROR 2 (No such file or directory) (WinError 2)
    in xtrn.cpp line 733 (sbbs_t::external) executing "C:\sbbs\xtrn\druglord\winners" access=16394 (useron=Internetking)

    but it is there in the directory as winners.bat

    ---
    * Synchronet * Internetking BBS - inetk.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Internetking on Sun Oct 1 11:21:50 2017

    On 2017 Oct 01 01:19:18, you wrote to all:

    9/30 11:51:28p Node 1 !ERROR 2 (No such file or directory) (WinError 2) in xtrn.cpp line 733 (sbbs_t::external) executing "C:\sbbs\xtrn\druglord\winners" access=16394 (useron=Internetking)

    but it is there in the directory as winners.bat

    the error doesn't have ".bat" on the end of it...

    you might also need command.com (or cmd.exe these days) to run it... back in the old days in other BBS software we ran batch files like this...

    *c /c /some/path/foobar.bat

    *c loaded the command interpreter
    /c told the command interpreter to execute the next part

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... What the heck happened here??!!
    ---
    * Origin: (1:3634/12.73)
  • From Nightfox@1:103/705 to mark lewis on Sun Oct 1 16:46:50 2017
    Re: running a .bat file
    By: mark lewis to Internetking on Sun Oct 01 2017 11:21 am

    "C:\sbbs\xtrn\druglord\winners" access=16394 (useron=Internetking)

    but it is there in the directory as winners.bat

    the error doesn't have ".bat" on the end of it...

    In Windows, when running a .bat file manually at the command prompt, you don't need to include the .bat filename extension. Any executable file (.exe, .bat, .cmd, etc.) can be run without typing the filename extension. I'm not sure if that's the case when running a .bat via Synchronet though.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Internetking on Mon Oct 2 18:53:46 2017
    Re: running a .bat file
    By: Internetking to all on Sun Oct 01 2017 01:19 am

    how do i run a batch file...

    it keep saying not found or something...

    9/30 11:51:28p Node 1 !ERROR 2 (No such file or directory) (WinError 2)
    in xtrn.cpp line 733 (sbbs_t::external) executing "C:\sbbs\xtrn\druglord\winners" access=16394 (useron=Internetking)

    but it is there in the directory as winners.bat

    How do you have this program configured to run (e.g. in SCFG)? Do you have "Use Shell To Execute" set to "Yes"? If not, I wouldn't expect you to be able to run a .bat file.

    digital man

    This Is Spinal Tap quote #29:
    I find lost luggage. I locate mandolin strings in the middle of Austin!
    Norco, CA WX: 67.6oF, 67.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)