Unable to start any BTM file from Explorer

May 22, 2013
34
0
Until to day I used TCC / TCMD version 11, but under Windows 10, HELP often crasshes. Ok, may be time to buy a newer version 18. (64 bits) So I got the evaluation version.

Any attempt to open a BTM from Windows Explorer, now result in a TCC windows opens, displays an error message to short to read it, and closes.

During installation, I did not tell the installer to associate BTM files (or any other file) with TCC as version 18 should use the associations of version 11, including my right mouse options like Edit with my editor, Debug, Print etc.

Just "Open" does immediately close in version 18 :-( Starting the BTM from the command line works

Any idea what may be wrong?
 
May 20, 2009
293
5
57
ITALY
I You create an almost empty .btm file, with just a echo on and then a pause, are You able to read the error message?

Regards

Rodolfo Giovanninetti
 
May 22, 2013
34
0
No, that did not work, but yes thanks Rodolfo as your hint in a somewhat different way did the job. I have put a pause in 4EXIT.BTM and the result was:

TCC: Unknown command /CD:\Desktops\DSwitch.btm

It is a bug! Not a major one, but it it has stolen some hours of my time :-)
/C is not a part of the file name! A blank between /C and the command was never required in command.com, 4dos.com, 4nt.exe and still not required in CMD.

Modifying file associations for btm files in the registry has fixed the problem and i have registered version 18.

Thanks!
 

rconn

Administrator
Staff member
May 14, 2008
12,363
150
Run OPTION, and see if you have "PathExt" checked on the Startup page. If you do, you have to have ".BTM" somewhere in your PATHEXT environment variable or TCC will not consider a BTM file to be executable. Windows does not insert BTM in the default PATHEXT variable.
 
May 22, 2013
34
0
Run OPTION, and see if you have "PathExt" checked on the Startup page. If you do, you have to have ".BTM" somewhere in your PATHEXT environment variable or TCC will not consider a BTM file to be executable. Windows does not insert BTM in the default PATHEXT variable.

No, that's irrelevant in my case. I need a BTM to be associated with extra commands, like Edit (not with notepad) Print by <printer1>, Print by <printer2> debug. So at installation Take Command is not allowed to associate BTM files as such would do it in a different way.

In the registry, HKCR\btmfile\shell\open\command was set to C:\4NT\TCC.EXE /C"%1" %* and such did no longer work because the missing blank between /C an "%1".

The same incompatibility in several shortcuts. C:\4NT\TCC.EXE /C<command> no longer works if there is no blank between /C or /K and the command.
In version 11 and older (Back to good old 4DOS) that spac was not required en in the very very past COMMAND.COM did not accept that blank.

It is not a real problem, thus don't stop your excellent work. There is no life without Take Command.
 
Last edited:
Similar threads
Thread starter Title Forum Replies Date
N Unable to bind multiple keys to the same key mapping directive Support 9
A Unable to pass batch file arguments unaltered Support 18
Eric Peters New Computer, unable to register Support 3
A Unable to register TC23 Support 1
D Unable to uninstall TCC 21 Support 1
G How to? Unable to install TCMD 21 under Win2012R2 Support 5
K Unable to register TakeCommand Support 4
W Unable to register TCMD v21 Support 16
dcantor Unable to access help Support 9
WavSlave Fixed Unable to sort files by description in TCC v19 Support 2
nickles WAD del unable to delete files ending in "." Support 18
M I'm unable to use @replace[] with a % character in string2 Support 12
Jay Sage Unable to Specify INI File Support 19
thedave WAD Unable to type various characters using Windows 8's onscreen keyboard Support 7
Dan Glynhampton Fixed @version "force" flag not working, and unable to set separator Support 3
D ftps gives "Unable to build data connection" Support 5
M Why am I unable to delete files? Support 8
Y Unable to register v13. Support 1
Y Unable to close v13 Support 26
N Unable to end tcc.exe process Support 1
Y Unable to install 10.00.50 Support 3
J Take command does not start on Windows 10 Support 3
N for start /b anamoly Support 1
U Can not get/start Take Command gui Support 1
DrusTheAxe START /? is incomplete Support 2
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
vefatica Start/stop screensaver from TCC? Support 12
S START with title Support 4
vefatica START at 0,0? Support 2
D START /POS versus @WINPOS and @WINSIZE Support 12
vefatica START /elevated and PcaSvc? Support 5
S incorrect message at start Cancel batch job 4START.bat ? (Y/N/A) : Support 1
vefatica START /PGM "name with spaces.URL" fails Support 2
L Peculiarities of how START launches processes Support 15
R How to? START program as top window? Support 2
Peter Murschall v24 IDE/BDEBUGGER won't start Support 9
Dmitry L. Kobyakov WAD Start /pgm "name.htm" works improperly Support 4
Joe Caverly START Dialog usage of %_ variables Support 0
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
vefatica START *command Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
MikeBaas start /runas - I'd like /netonly Support 2
vefatica Start VIEW with the toolbar showing? Support 5
vefatica Documentation START /AFFINITY Support 0
B how to do in "start" command thing like in tcc.exe Support 1
J directory or folder to start in Support 2
R How to? Not have RT version show on start Support 3
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6

Similar threads