Fixed Rexx .cmd files no longer work in TCC 20

Oct 24, 2011
73
1
None of my extensive collection of Rexx scripts run in version 20, but did so in 19. I'm using the supported ooRexx interpreter 4.2.0 (2014, the latest).

Apparently TCC 20 isn't recognizing "/*" as the first 2 characters in the file and tries to run it as a Windows batch file. Maybe it's not checking at all.

Error messages stream across the screen and the TCC window crashes, which is not a surprise under the circumstances. Here is a fragment of the error stream captured via stderr:

TCC: C:\Bin\cpdesc.cmd [23] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [24] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [25] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [26] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [27] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [28] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [29] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [30] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [31] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [32] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [33] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [35] Unknown command "rxFuncAdd"
TCC: C:\Bin\cpdesc.cmd [36] Unknown command "sysloadfuncs"
TCC: C:\Bin\cpdesc.cmd [38] Unknown command "Vers"
TCC: C:\Bin\cpdesc.cmd [39] Unknown command "SubVers"
TCC: C:\Bin\cpdesc.cmd [41] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [42] Unknown command "parse"
C:\Bin\cpdesc.cmd [45] Usage : IF [/I] [NOT] condition [.AND. | .OR. | .XOR. [NOT] condition ...] command
TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
TCC: C:\Bin\cpdesc.cmd [47] Unknown command "say"
TCC: C:\Bin\cpdesc.cmd [48] Unknown command "say"
TCC: C:\Bin\cpdesc.cmd [49] Unknown command "say"

Hopefully this will be fixed at some point. Meantime I'm still using TCC 19.
 
Last edited:
Nov 2, 2008
237
2
I still use v 20, but resort to using 4nt v 8.0 when i need this. Most of my Extprocs run to rexx scripts.
 
Similar threads
Thread starter Title Forum Replies Date
Steve Pitts REXX support - order of selection Support 2
Joe Caverly @REXX Support 6
fpefpe How to? Rexx -- Regina / Object Rexx Support 2
fpefpe How to? Rexx, Object Rexx Support 3
Steve Pitts Failed REXX invocation not closing file Support 3
fpefpe Rexx support Support 11
Daniel Wee Rexx output redirection seems to be broken Support 4
L How to synthesize cmd.exe's DEL /Q Support 2
T WAD CMD incompatibility Support 14
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
L FTYPE in TCC, less quirky than in cmd.exe Support 3
Peter Murschall Single-line Do-CMD is a bit uncooperative. Support 6
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
T Date format date different from cmd Support 7
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
E TCC/CMD difference Support 5
S How to? Deinstalling TC/reinstating execution of bat files by cmd in Win7 Support 31
D How to? Pass OpenHere Folder to CMD? Support 6
R Difference between TCC and CMD: variable names with hyphens Support 4
M WAD "Pictures" directory is empty in TCC but not in CMD or Explorer Support 4
rps Cmd history recall Support 4
rps Documentation TITLE cmd docs Support 0
Joe Caverly PUSHD with UNC path in CMD.EXE Support 2
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
Joe Caverly Using this CMD technique from TCC Support 17
W If command - different with CMD Support 6
I how to make TCC default/replace cmd.exe? Support 9
R FOR usage error from TCC but not from CMD Support 16
I findstr works in cmd but not in tcc Support 5
D Pasting Unicode data has different behavior on TCC and CMD Support 2
M Command line parsing differences between cmd.exe and TCC Support 6
Joe Caverly Works with CMD.EXE, no output with TCC.EXE Support 7
Joe Caverly tcommand(cmd) Support 13
L WAD ECHO. expansion of non-existent env-vars differs from CMD.exe Support 6
Joe Caverly "Functions" in cmd.exe batch files Support 6
Joe Caverly Works in debugger, not from cmd line Support 1
K CMD, TCC, VisualStudio 2017, VcVars* differences Support 1
D Does TCC improve CMD's implementation of ECHO? Support 6
P Labels in batch files: TCC vs CMD.exe Support 9
Patulus Yet another thread on CMD compatibility Support 16
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
Joe Caverly CMD.EXE and filename(1).ext Support 3
H DOS CMD Sort+Add Sequence+Remove Sequence number Support 12
T WAD Difference between TCC and CMD in handling multi-command lines Support 6
C Nested IF syntax — TCC behaving differently to CMD Support 12
T CMD incompatibility Support 14
V Network share slowness vs CMD? Support 19
TT's Help! Uninstalling TCC did not restore cmd.exe as Win10 default batch file processor. Support 4
R How to? Display text same as in CMD Support 14

Similar threads