btm execute ondouble click

Sep 24, 2008
23
0
Take Command 10

On my laptop (XP Pro) with an older version of Take Command, I would just double click my btm scripts and they would execute.

With the new version on my new workstation (server 2008), the Take Copmmand console opens up but the scripts don't execute.

How can I get them to execute with a double click?

Thanks
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Kygre wrote:
| Take Command 10
|
| On my laptop (XP Pro) with an older version of Take Command, I would
| just double click my btm scripts and they would execute.
|
| With the new version on my new workstation (server 2008), the Take
| Copmmand console opens up but the scripts don't execute.
|
| How can I get them to execute with a double click?

In the installation directory of TCC/Take Command there is a batch file
tccbatch.btm. Execute it from a TCC prompt (either in a TCMD tab or a TCC
window), and it will associate .BTM files with TCC. It ought to do the
trick!
--
HTH, Steve
 
Sep 24, 2008
23
0
Thanks for the tip - I ran the batch file, double clicking still just pulls up the TCC console. I still have to find the file I want to execute and copy it into the prompt window.

If I right-click on the file, and select "Open With", the select TCC, the file will execute directly. That will work for now, but it would be nice to get the double click back, since that is my previous habit.

Any suggestions?

Thanks,

Kyle
 
Sep 24, 2008
23
0
correction on my previous msg

right-click "Open With" TCC actually opens the script in a dos prompt window instead of TCC.

Does the old TakeCommand standalone window still exist? That was well suited to my purposes...

Thanks,

Kyle
 
Sep 24, 2008
23
0
Correct, but that is what opens upon a right-click, "Open With", then select TCC. A dos prompt window opens, and fails to run the btm file.

So I can't get a btm file to run on Server 2008 with a double click (which just opens the TCC Console) or a right-click "Open With"

The double click still works on my XP Pro, even though I upgraded for 9.x to 10.x

Thanks,

Kyle
 
Sep 24, 2008
23
0
The TCC version 8.01 is running on the XP Pro machine. TCC 10 is installed, but version 8 is what comes up with a double click.

I would hope to see a simple window like that again with version 10 on my Server 2008.

I have literally hundreds of scripts I run this way.

Thanks,

Kyle
 
May 20, 2008
11,292
95
Syracuse, NY, USA
On Fri, 11 Sep 2009 19:22:32 -0500, Kygre <> wrote:

|Correct, but that is what opens upon a right-click, "Open With", then select TCC. A dos prompt window opens, and fails to run the btm file.
|
|So I can't get a btm file to run on Server 2008 with a double click (which just opens the TCC Console) or a right-click "Open With"
|
|The double click still works on my XP Pro, even though I upgraded for 9.x to 10.x

Compare registry entries on the two machines:

HKEY_CLASSES_ROOT\btmfile\shell\open\command

The default value should have data something like this:

drive:\path\tcc.exe /c "%1" %*

Verify the path and exename are correct for each machine.
--
- Vince
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Kygre wrote:
| The TCC version 8.01 is running on the XP Pro machine. TCC 10 is
| installed, but version 8 is what comes up with a double click.
|
| I would hope to see a simple window like that again with version 10
| on my Server 2008.

IIRC the double-click start the program which is associated with the file
type (that's a two-step procedure), i.e., the ASSOC command assigns a
"filetype" to an extension, and the FTYPE command assigns a program to the
"filetype". The file TCCBATCH.BTM, installed in every directory where you
install TCMD or TCC, associates .BTM files with the copy of TCC.EXE which
executes it. If you have more than one version of TCC installed (obviously
in separate directories) and you do not move them, whichever version of
TCC.EXE had last executed TCCBATCH.BTM will be used to process .BTM files
via double-click. On the machine you mentioned in the first paragraph above
you must have executed TCCBATCH using 4nt.exe version 8.01 and not TCC 10.
Just start TCC10, and run TCCBATCH again, and it will be the new
"double-click" handler. BTW, the latest (and last) version of 4nt8 is
version 8.02, build 106, and upgrading from 8.01 is free.
--
HTH, Steve
 
Similar threads
Thread starter Title Forum Replies Date
J 4NT Error when running 'system' from a program to execute a .BTM Support 3
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
Charles S. Roaten Problems with TCSTART.BTM Support 1
P Kill all other instances of tcc from a btm batch file Support 2
C TCC 26 BATCOMP BTM problems? Support 5
B IF command problem in tcexit.btm Support 9
vefatica WAD DIR.BTM? Support 11
vefatica BTM, elevated, console window caption? Support 4
I BTM slower than BAT? Support 14
D btm file command line augments comparing for string or math. Support 12
D check for network tcstart.btm and load if newer Support 3
Craig Fitzgerald Problems using tcstart.btm Support 3
vefatica Installer sets BTM associations wrongly Support 4
O I cannot use links to .btm files Support 5
CWBillow Can't right-click a BTM Support 7
C NE1 have BTM to remove %appdata\JP Software\ etc... Support 0
C interesting TCStarts.btm Support 2
JohnQSmith ALIAS /R in TCSTART.BTM Support 9
Paul Berwanger BTM Bugs Support 2
M Drag and Drop for .BTM scripts Support 10
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6
C How to? run a BTM in elevated, inv tcc tab window Support 9
Roedy How to? Understanding BTM file properties Support 0
Fross GetOpt.btm Support 0
Roedy BTM file encoding Support 13
C How to? Add date/time to custom tpipe based BTM Support 1
thedave Problem chaining piped FIND commands in BTM Support 7
P Concatenating strings in a BTM Support 3
C Cmpr_Del.btm need help understanding UDF..... Support 2
R Unable to start any BTM file from Explorer Support 5
G .BTM association doesn't work anymore Support 1
A 18.00.21 tries to cancel TCSTART.BTM Support 3
B How to? why does my BTM stop Support 2
redwdc btm won't run in ver. 17 but works in ver. 16 Support 11
I How to? Bat Works but BTM Doesn't Support 6
C Documentation .CMD .BAT .BTM Support 15
C TCMD17x64\tcchere.btm Support 3
T How to? sort history in tcexit.btm Support 22
Mezlo help with btm fragment Support 9
C REQ: tcmdhere.btm mod Support 11
vefatica Why isn't TCSTART.BTM run? Support 8
vefatica BTM file hoses logon session Support 12
C move_all.btm Support 34
J Passing % character through command line to .btm Support 5
C @CharlesDye - RegTweaks.btm n/w Support 11
C z_newmove.btm questions Support 6
R Drag to BTM no longer works in Windows 8.1 Support 10
T Associating BTM files with IDE results in DOS box Support 33
MickeyF Why does my tcstart.btm sometimes terminate tcc.exe? Support 4
Mordachai How to get a TC interface instead of a console for .btm, .bat, ? Support 10

Similar threads