Subj : exec_xtrn
To   : Jim King
From : Digital Man
Date : Thu Nov 18 1999 06:59 am

RE: exec_xtrn
BY: Jim King to ALL on Thu Nov 18 1999 04:20 pm

> Is this command work only with programs that reside in the \sbbs\exec
> dir? Can I stick a drive and path in front of the executible?
>
> Yes, I tried that, and it failed miseribly.
>
> #cmdkey /B
> #        print "\r\nBulletin Menu\r\n"
> #                 EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
> #              args: BULLETIN
> #                end_cmd
>
> I am not sure as to the next to the last line being needed but the BaJa
> docs said it should be the internal code.

EXEC_XTRN is used to execute configured online external programs ONLY. The
argument to EXEC_XTRN (the word that you put in quotes) must be the internal
code for the external program (as shown in SCFG). The argument is not the name
of the executable (with or without a path).

The args: line is part fo the Baja documentation, not the code. See the section
titled "Argument Names" on page 21 of BAJA.DOC. So, your example should be
changed to:

cmdkey /B
   print "\r\nBulletin Menu\r\n"
   EXEC_XTRN "BULLETIN"
   end_cmd

Rob

---
� Synchronet � telnet://talamasca-bbs.com   http://www.talamasca-bbs.com