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

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 !
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
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 !

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.
 
There wasn't any screen shot attached, so it's difficult to diagnose your problem.

Sorry. Emailed directly to you...

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.

ASSOC .BTM :

.btm=batfile


If that doesn't work, email me the screenshot directly to support@jpsoft.com.
 
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 !
 
Similar threads
Thread starter Title Forum Replies Date
G 4NT on Windows 10 Support 3
J 4NT V8.02 Registration on SSD Support 2
SB-Robert Old 4NT Won't Register - Options? Support 8
Kachupp old version 4nt v8 Support 0
Kachupp old version 4nt v8 Support 0
N Shortcut stops working after 4NT to TCC Upgrade Support 73
J 4NT problems after going to Windows 7 Support 5
A Installing 4nt on Windows 7 Support 3
S 4NT - delete from command prompt and recycle bin Support 12
W 4NT 8.00 Registration Question Support 7
BobK New to TCC, Why does it use my old 4NT files? Support 3
rcjackson0926 TCC 11.0 vs 4NT copy and paste Support 2
J 4nt 5.0 Registration key won't work Support 6
A Issue with 4NT Support 7
A How to Run the 4NT 8.02 .INI Key Version Support 3
A 4NT 8.02 Installation on Windows 7 Support 1
Joe Caverly 4nt.exe Support 2
S TCC 9.02 vs 4NT 8.02 difference - for %a COPY Support 6
noahcoad Possible Bug? Launching 4nt.exe Goes Hairwire Support 10
W The skipping of remaining 4NT job steps Support 2
D Peculiar symptoms w/ 4NT, TCC/LE vis a vis CMD.EXE Support 11
T TCv9.0 much slower than TCI v2.0/4NT Support 8
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
S TCC 9.02 vs 4NT 8.02 TAB completion on FTP Support 7
R 4NT, TCC/LE : "IF EXIST X:\NUL" always fails Support 13
G 4NT 9.02 _shell internal variable Support 50
S MOVE command over FTP with 4NT 5.00U Support 0
R 4nt v8 Support 1
C Copy (sys) error Support 3
T Error: This page can’t be displayed Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct. Support 8
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
samintz How to? Abort on error DO loop Support 10
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica ON ERROR terminates DO loop. Support 0
C Google intregration error Support 4
C FB intregration error Support 0
gworley rd (Remove Directory) gives interesting error: Support 2
D How to? Skip removing directory (RMDIR) without error message Support 2
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
M Strange error messages from TCC in FTP copy Support 7
vefatica Error message from TOUCH Support 2
R FIND command error Support 9
fpefpe Python dll error Support 3
D error in help documentation? Support 0
R FOR usage error from TCC but not from CMD Support 16
K_Meinhard Help file error Support 1
X small translation error. Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
Dmitry L. Kobyakov From old version: had the setup's error been corrected? Support 6
vefatica Why no error message? Support 2

Similar threads