Saving out Command Input window

Oct 11, 2011
5
0
In version 11, I had Take Command set up to save out the Command Input window contents, and then start up again with those contents restored to the Command Input window. This doesn't seem to be working in version 13 (or else I just haven't set it up correctly). I have a filename specified in the CommandInputFile="C:\Personal\TCCCommandInput.txt" in the ini file. I can actually copy a command in that file, and when Take Command starts up, that command will appear in the Command Input window. But when I exit out of Take Command, that file will have it's contents deleted, and when I start up Take Command again, there will be nothing in the Command Input window. Am I doing something wrong?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,463
88
Albuquerque, NM
prospero.unm.edu
It works for me.

However, I do notice that when the text file is loaded, the BOM at the start winds up in the command input window (it appears as a little square.) When Take Command closes, the buffer is saved, including the BOM, but a new BOM is prepended, so there are now two BOMs at the front. Exit and restart, and I have three BOMs....
 
Oct 11, 2011
5
0
Okay, it appears to now be working. I think it had to do with the way I initially had the commands formatted in the txt file to start with.
 

rconn

Administrator
Staff member
May 14, 2008
12,348
150
However, I do notice that when the text file is loaded, the BOM at the start winds up in the command input window (it appears as a little square.) When Take Command closes, the buffer is saved, including the BOM, but a new BOM is prepended, so there are now two BOMs at the front. Exit and restart, and I have three BOMs....

Fixed in build 27.
 
Similar threads
Thread starter Title Forum Replies Date
S TCC Command Line Keys - not saving to history? Support 1
Exolon V17 beta, debugger: STRG-S is inserting character instead of saving Support 12
CWBillow Saving TCMD and TCC Settings Support 3
J Saving aliases Support 21
C Saving State Support 1
Joe Caverly Saving SMTP Changes in TCC13 Support 5
J Backing up and daylight saving time Support 9
J Tcmd/64 issue - options not saving Support 15
R saving cmd and dir history - 12.00.27 Support 3
B Saving scripts Support 3
Dmitry L. Kobyakov How to? How to remove the record of the old version of the Take Command? Support 5
D Can alias pass parameters to for command? Support 3
samintz How to? Search for %(command) in Help? Support 1
T VIEW only works from command line Support 14
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
T Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
J Take command does not start on Windows 10 Support 3
vefatica `Back quotes` - command line vs. batch file Support 5
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
Phileosophos Is there any way to open the Take Command options dialog from the command line? Support 8
Phileosophos Command-line Editing Shortkeys That Fail Support 6
fpefpe How to? free (internal) command Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
T How to? retain command history across reboot? Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
GermanDirk How to? EVENTLOG Command with simple User Rights not functional Support 4
Jay Sage Take Command Is Too Fast! Support 4
Jay Sage Comparison of IF with Command Group and IFF Support 6
D Open Windows 10 Photos app from command line Support 11
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
U Can not get/start Take Command gui Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
S Increasing Font Point Size in Command Tabs Support 2
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica Command name mix-up Support 3
FreezerBurnt "Missing SETLOCAL" when initializing Visual Studio Command Prompt. Support 9
E How to? Closing desktop created by DESKTOP command Support 10
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
K Take Command fox XP? Support 7
Joe Caverly Documentation Replace internal command with LIBRARY command Support 0
fpefpe How to? command echo in title line/bar Support 2
U Command help on file names Support 5
vefatica Command line DO with no closing parenthesis? Support 9
vefatica Command history search is off Support 7
H How to? How can I say "if the command separator is not ~ then setdos /C~" Support 8
N Command execution slows down in TCC Prompt after a while Support 6

Similar threads