Yet another strange something re something called "@TCONVERT"

May 24, 2010
855
0
Northlake, Il
A quick bit of background: I've got a 32-bit program that I wrote years ago (in C++) that I use all of the time, and for a number of reasons I have no interest in converting it to 64-bit (as this machine is). However, part of it's functionality can only be achieved by running 64-bit code in 64-bit TCC, and trying to create a C++ program that does something in 64-bit mode only when needed and everything else in 32-bit mode is beyond my present capabilities. So therefore I have a 32-bit version of TCC readily available. So here's the problem: I just went into the options dialog in the 32-bit TCC to verify that some things were set the way I wanted them to be set, and my (dim) recollection is that everything was set the way I wanted it to be and I didn't even change anything. However, here's what happens in new 32-bit TCC sessions:
Code:
  Sun  Jan 27, 2013  12:31:47a
 
Chill v1.1.0 loaded.
Fortune v1.1.3 loaded.
ISO8601 plugin v1.3.6 loaded.
PopInfo v1.0.3 loaded; hotkey is Control-Q.
SafeChars plugin v1.6.4 loaded.
Say plugin v1.0.7 loaded.
Snapshot v1.0.1 loaded.
 
TCC  14.03.53  Windows 7 [Version 6.1.7601]
Copyright 2012 JP Software Inc.  All Rights Reserved
Registered to Daniel Mathews
 
[Z:\]Echo Just a command to illustrate the problem...
Just a command to illustrate the problem...
 
TCC: (Sys) Incorrect function.
"%@TCONVERT[0.023]"
The problem is that "Incorrect function "%@TCONVERT"".

And searching every .btm file in my path yields nothing (I'm showing the whole listing unmodified so that there is no doubt about what I say here):
Code:
[Z:\]For /T";" %D in (%Path) Do (Find /I "@TCONVERT" "%D\*.btm")
File not found - "C:\Windows\system32\*.btm"
File not found - "C:\Windows\*.btm"
 
---------- E:\DOS\ADDTOPATH.BTM
 
---------- E:\DOS\ADDTRAILINGQUOTES.BTM
 
---------- E:\DOS\ALARM.BTM
 
---------- E:\DOS\ALPHABETICPHONENUMBERTODIGITS.BTM
 
---------- E:\DOS\ARGUMENTTRAVERSALPROTOTYPE.BTM
 
---------- E:\DOS\AUTORENAME+1.BTM
 
---------- E:\DOS\AUTORENAME.BTM
 
---------- E:\DOS\BATCHFILENAME.BTM
 
---------- E:\DOS\BATCOMPALL.BTM
 
---------- E:\DOS\BUILDCOMPLETESONGLISTSORTEDBYDATEANDTIME.BTM
 
---------- E:\DOS\CLASSIFY .BTM FILES.BTM
 
---------- E:\DOS\CLASSIFYDIRECTORIES.BTM
 
---------- E:\DOS\CLEANC++DIRECTORY.BTM
 
---------- E:\DOS\CLEANPIDS.BTM
 
---------- E:\DOS\CLEANUPDCALC.BTM
 
---------- E:\DOS\CLEANUPWELLSFARGOTRANSACTIONLIST.BTM
 
---------- E:\DOS\COCK.BTM
 
---------- E:\DOS\COMBINETEXTFILES.BTM
 
---------- E:\DOS\COMP7ZZIP.BTM
 
---------- E:\DOS\CONTENTS.BTM
 
---------- E:\DOS\DELDUPFILES.BTM
 
---------- E:\DOS\DELETEUNNEEDEDVISUALCPPFILES.BTM
 
---------- E:\DOS\DEMO+1.BTM
 
---------- E:\DOS\DIRPLUS.BTM
 
---------- E:\DOS\DISPLAYZIPFILECONTENTS.BTM
 
---------- E:\DOS\DOCREBOOT.BTM
 
---------- E:\DOS\DOCRESTART.BTM
 
---------- E:\DOS\DONOTHING.BTM
 
---------- E:\DOS\DOSDISK.BTM
 
---------- E:\DOS\DRIVETYPE.BTM
 
---------- E:\DOS\ECALC.BTM
 
---------- E:\DOS\ECHOARGS.BTM
 
---------- E:\DOS\EFH.BTM
 
---------- E:\DOS\ENDTIMER.BTM
 
---------- E:\DOS\EXPLOREFROMHERE.BTM
 
---------- E:\DOS\EXTRACTDUPLICATES.BTM
 
---------- E:\DOS\FACTORIAL.BTM
 
---------- E:\DOS\FILESSORTEDBYEXTENSION.BTM
 
---------- E:\DOS\FILTERDUPLICATES.BTM
 
---------- E:\DOS\FINDEXECUTABLEBYNAMEFRAGMENT.BTM
 
---------- E:\DOS\FIXDATE.BTM
 
---------- E:\DOS\FIXDIR.BTM
 
---------- E:\DOS\FIXSONGNAMES.BTM
 
---------- E:\DOS\FORMATZNTFS.BTM
 
---------- E:\DOS\FREEPLUS.BTM
 
---------- E:\DOS\FUNCTIONS.BTM
 
---------- E:\DOS\GETALLOCATEDSIZE.BTM
 
---------- E:\DOS\GETAMPM.BTM
 
---------- E:\DOS\GETASOFDATE.BTM
 
---------- E:\DOS\GETCLUSTERSIZE.BTM
 
---------- E:\DOS\GETSUBSTDDRIVETARGET.BTM
 
---------- E:\DOS\GETUNIQUEFILENAME.BTM
 
---------- E:\DOS\GETVERSIONSTRING.BTM
 
---------- E:\DOS\HDIR.BTM
 
---------- E:\DOS\HISTORYOFF.BTM
 
---------- E:\DOS\HISTORYRESET.BTM
 
---------- E:\DOS\HXD.BTM
 
---------- E:\DOS\IDENTIFYCASES1.BTM
 
---------- E:\DOS\IEPATH.BTM
 
---------- E:\DOS\KEEPALIVE.BTM
 
---------- E:\DOS\LISTDRIVES.BTM
 
---------- E:\DOS\LISTLINKS.BTM
 
---------- E:\DOS\LISTSTREAMS.BTM
 
---------- E:\DOS\LOADPATH.BTM
 
---------- E:\DOS\LONG-FORM ALIAS FOR  DT~TM.BTM
 
---------- E:\DOS\MAKEBACKUPFILES.BTM
 
---------- E:\DOS\MAKEEMPTYFILE.BTM
 
---------- E:\DOS\MAKENOWDIR.BTM
 
---------- E:\DOS\MAKESAFE.BTM
 
---------- E:\DOS\MAKESONGLINKS.BTM
 
---------- E:\DOS\MAKEVERSIONS.BTM
 
---------- E:\DOS\MEF.BTM
 
---------- E:\DOS\MERGE1.BTM
 
---------- E:\DOS\MIDDIRECTORY.BTM
 
---------- E:\DOS\MOVEFILES.BTM
 
---------- E:\DOS\MUSIC.BTM
 
---------- E:\DOS\NOTRACEHISTORY.BTM
 
---------- E:\DOS\PARSECHASEATMWITHDRAWALS.BTM
 
---------- E:\DOS\PARSECHASENONATMTRANSACTIONS.BTM
 
---------- E:\DOS\PARSEMASTERCARDTRANSACTIONS.BTM
 
---------- E:\DOS\PARSESPECIALARGUMENTS.BTM
 
---------- E:\DOS\PI.BTM
 
---------- E:\DOS\PID.BTM
 
---------- E:\DOS\PROCESSDRM'DSONGS.BTM
 
---------- E:\DOS\PROCESSMUSICFILES.BTM
 
---------- E:\DOS\PROJECTCLEANUP.BTM
 
---------- E:\DOS\QGETMAXLINELENGTH.BTM
 
---------- E:\DOS\RDCRRNTDIR.BTM
 
---------- E:\DOS\REMOVEPARAMETER.BTM
 
---------- E:\DOS\RESETTOUCHPAD.BTM
 
---------- E:\DOS\RESTOREDATE.BTM
 
---------- E:\DOS\SAVEDATE.BTM
 
---------- E:\DOS\SAVEHISTORY.BTM
 
---------- E:\DOS\SAVEPATH.BTM
 
---------- E:\DOS\SCIENTIFICNOTATION.BTM
 
---------- E:\DOS\SEARCHCPPFILES.BTM
 
---------- E:\DOS\SETHISTORY.BTM
 
---------- E:\DOS\SHOW7ZCOMPRESSIONSTATISTICS.BTM
 
---------- E:\DOS\SHOWCPPPROGRAMHISTORY.BTM
 
---------- E:\DOS\SHOWDRIVESPACE.BTM
 
---------- E:\DOS\SHOWTIMERSTATS.BTM
 
---------- E:\DOS\SPLITMESSAGEII.BTM
 
---------- E:\DOS\STARTTIMER.BTM
 
---------- E:\DOS\STARTX.BTM
 
---------- E:\DOS\STDCOPY.BTM
 
---------- E:\DOS\STDDD.BTM
 
---------- E:\DOS\STDPDIR.BTM
 
---------- E:\DOS\STDSAFEMOVE.BTM
 
---------- E:\DOS\SUBDIRS.BTM
 
---------- E:\DOS\SUPERFIND-1.BTM
 
---------- E:\DOS\SYNCHRONIZESONGFILES+1.BTM
 
---------- E:\DOS\TAKECONTROL.BTM
 
---------- E:\DOS\TCMDE.BTM
 
---------- E:\DOS\TCSTART.BTM
 
---------- E:\DOS\TESTESCAPE.BTM
 
---------- E:\DOS\TESTISFILE.BTM
 
---------- E:\DOS\TESTUNQUOTES.BTM
 
---------- E:\DOS\TIMERPARAMETERERRORTESTS.BTM
 
---------- E:\DOS\TIMESTAMPFILE.BTM
 
---------- E:\DOS\TRACEHISTORY.BTM
 
---------- E:\DOS\TRUETRUENAME.BTM
 
---------- E:\DOS\UNFIXSONGNAMES.BTM
 
---------- E:\DOS\UNNAMEIT.BTM
 
---------- E:\DOS\UNSUBST.BTM
 
---------- E:\DOS\UNZIPVBSAMPLES.BTM
 
---------- E:\DOS\UPGRADETCMDTCC.BTM
 
---------- E:\DOS\UZVBS.BTM
 
---------- E:\DOS\VC08.BTM
 
---------- E:\DOS\VERIFYACCESS.BTM
 
---------- E:\DOS\VERIFYDATEVALIDITY.BTM
 
---------- E:\DOS\VERIFYEXISTENCE.BTM
 
---------- E:\DOS\VERIFYFILENAMEANDPATH.BTM
 
---------- E:\DOS\VERIFYNEWTCMDTCCINSTALATION.BTM
 
---------- E:\DOS\XDIR.BTM
 
---------- E:\DOS\XXXSTARTX.BTM
 
---------- E:\DOS\YEARDIFFERENCE.BTM
File not found - "C:\Windows\System32\Wbem\*.btm"
File not found - "C:\Windows\System32\WindowsPowerShell\v1.0\\*.btm"
File not found - "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\\*.btm
"
File not found - "C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\\*.btm"
File not found - "E:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolk
it\\*.btm"
 
TCC: (Sys) Incorrect function.
"%@TCONVERT[0.898]"
[Z:\]
If you glance over the previous you will see no .btm file in my path refers to a function "@TCONVERT"

Not only that, but I've never even heard of a function with that name before now and no function with that name is listed in the TCC help file.

What the heck did I do now?
 
May 20, 2008
11,411
99
Syracuse, NY, USA
Are you saying that merely executing that command causes that error message? Is "Echo" an alias?
Code:
[Z:\]Echo Just a command to illustrate the problem...
Just a command to illustrate the problem...
 
TCC: (Sys) Incorrect function.
"%@TCONVERT[0.023]"
 
May 24, 2010
855
0
Northlake, Il
Vince, to be clearer here it's not just "that" command, it's executing any/every/all commands (batch files or programs or internal commands, everything) without exception. Said (with a bit of humor that hopefully will work here) it's like that error message is my command prompt!
 
May 24, 2010
855
0
Northlake, Il
As far as I know, the "default" prompt (As far as I remember, which ain't too far, I've never changed it). And "Echo %Prompt" produces "ECHO is OFF", which means, from what I understand, that I really haven't set it to anything so it should be the default.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
AFAIK there is a default prompt, stored in the env. var. PROMPT, set by TCC when it starts. If displaying it with the command you showed above results in the message ECHO is OFF somehow the variable got deleted! Or possibly it includes the @TCONVERT function from Vince's 4utils.dll which is not loaded at that time... Take this message with a grain of salt, though.
 
May 24, 2010
855
0
Northlake, Il
Well, guys, the problem has been found and worked around (but not yet completely fixed, that's another story in a moment), and, Steve, your response caused me to (almost ; > ) > remember it. You see, per JohnQSmith's excellent suggestion not too long ago, I implemented a command timer on the POST_EXEC alias, and Mr. Smith's code uses @TCONVERT, which is defined in the 64-bit 4Utils plugin but (currently) not in the version of the 32-bit 4Utils plug in that I have. Since at this particular moment I don't even know what @TConvert does (and I no longer remember where to find the 4Utils documentation), I simply nulled out the POST_EXEC alias and that has fixed the problem. I would like to restore the command timer functionality, however.
 
May 24, 2010
855
0
Northlake, Il
And Steve, I'll just say my prompt is exactly what I want it to be ("[D:\Directory]") and echoing %Prompt yields "ECHO is OFF". If there's somewhere else to set it I don't remember where that somewhere else is (possibly bad memory as usual).
 
May 24, 2010
855
0
Northlake, Il
And in a clear-cut case of never-ending additions to this posting, if it's not obvious I found the latest version of the 4Utils plugin, downloaded and installed it, and everything's now fine. Thank you all!
 
Similar threads
Thread starter Title Forum Replies Date
Patulus Yet another thread on CMD compatibility Support 16
D Started suggestions, not in this version (yet?) Support 1
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
vefatica Another popup problem Support 10
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
G Press on another Window Support 24
M Another possibly strange remote registry issue Support 5
vefatica Another problem with build 22. Support 3
M Take Command 18, migrating to another machine, license problem. Support 1
MickeyF Another TPIPE question Support 6
vefatica Another installer thingy Support 1
vefatica Another @EVERYTHING question Support 4
C Touch command — I Need to touch matching files in another directory. Support 5
M Another "What is wrong?" Support 8
Bill de Haan Another installation is in progress Support 6
fishman@panix.com Another Problem with The Installer Support 1
Charles Dye Another modest proposal Support 4
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
M WAD Another weird copy command errror... Support 2
Charles Dye Documentation Another help nit Support 3
K_Meinhard Documentation Another installer nit Support 1
ehab aboudaya How to? change ALT-F6 to another key Support 1
A How to? Pass output from ffind to another command in a BTM file Support 5
M Another simple question re. Take Command/TCC window witdth in characters... Support 16
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
M Another bit of weirdness.... Support 0
S MOVE from FTP directory to another FTP directory - bug?? Support 2
vefatica Another debugger observation Support 12
vefatica Another DO /L question Support 1
M Another TCMD "crash" situation... Support 2
S Need help to execute TCC commands on another system Support 6
B TCC doesn't run using another user Support 2
H Another multiple FTP password prompt issue Support 2
Peter Bratton Another little bug? Support 1
M Another problem with renaming files... Support 3
nikbackm Another HISTORY dialog issue Support 0
vefatica Another help nit Support 12
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
p.f.moore Running another batch file without CALL Support 7
R strange bug? Support 7
Jesse Heines Strange Line Wrapping Behavior Support 14
F strange results Support 9
M Strange error messages from TCC in FTP copy Support 7
forbin Strange handling of [nonbright] magenta background (v22) Support 2
N Fixed Strange dir behavior Support 6
vefatica REGDIR, strange error message Support 7
T WAD Strange Unexpected "features" in the Debugger Support 2
P Strange mouse behavior with list Support 2
vefatica Strange tcc.exception.log Support 7
vefatica A strange one Support 0

Similar threads