1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

4NT Error when running 'system' from a program to execute a .BTM

Discussion in 'Support' started by JOSE ADRIANO BALTIERI, Nov 18, 2008.

  1. JOSE ADRIANO BALTIERI

    Joined:
    Jul 10, 2008
    Messages:
    18
    Likes Received:
    0
    Hello !

    I have a program that issues a kind of a system call, to launch an external BTM. Let's call this program the "A" program.

    The program waits for the results of this BTM. This BTM on it's turn, will run another program , which is a Cobol compiler. This is the "B" program.

    This worked fine but, since I migrated to another machine and reinstalled 4NT, I'm having an error when the first program, that is, the "A" program.

    This problem never happened before.

    I wonder if I have made something wrong on my installation here...

    A screen shot of the error you can get attached.

    Any suggestion ? Have you ever faced this problem ? Is this error screen coming up from 4NT itself or from Windows ?

    Thanks in advance !
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,859
    Likes Received:
    83
    There wasn't any screen shot attached, so it's difficult to diagnose your problem.

    At a guess, I'd recommend checking your PATHEXT setting and contents, to ensure that 4NT will execute .BTM files. (The default Windows PATHEXT does not include .BTM.) Also, make sure that the .BTM extension is associated with 4NT -- type "assoc .BTM" and see what it returns.

    If that doesn't work, email me the screenshot directly to support@jpsoft.com.
     
  3. JOSE ADRIANO BALTIERI

    Joined:
    Jul 10, 2008
    Messages:
    18
    Likes Received:
    0
    Sorry. Emailed directly to you...

    ASSOC .BTM :

    .btm=batfile


     
  4. JOSE ADRIANO BALTIERI

    Joined:
    Jul 10, 2008
    Messages:
    18
    Likes Received:
    0
    FTYPE batfile :

    BATFILE=c:\4nt\4nt.exe "%1" %*

    PATHEXT :

    .BTM;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

    On Windows Explorer, when I double click on a .BTM file, it launches 4NT correctly. Also, inside this BTM file there are specific commands, such as DELAY, that are interpreted currectly. Thus, the BTM was ran under 4NT of course.

    I guess we have another type or problem, of conflict.

    Thanks !
     

Share This Page