SCRIPT and GetObject
As @vefatica discovered recently, it would appear that GetObject does not work well with the SCRIPT command. This example; Code: Set oMath = Nothing Set oMath = GetObject("script:e:\utils\math.wsc")...
View ArticleActiveScript for VBScript
Ref : SCRIPT and GetObject Ref: Using VBScript functions from TCC22 Code: plugin /i ActiveScript Module: e:\utils\ActiveScript.dll Name: ActiveScript Author: Joe Caverly Email: jlcaverlyca@yahoo.ca...
View ArticlePiping a command containing an odd number of double_quotes?
I want to do command1 | command2. It fails when command1 contains an odd number of double_quotes because the pipe character is seen as being quoted. Here's an overly simple example. Code: v:\> echo...
View ArticleUsing ColorDir on Normal
Hello, I am currently evaluating TCC and so far I love it. I have been trying to change the default "normal" color for files which I assume is anything that does not have a specific color associated...
View Articleattrib does not reset attribute
On Win10 21H2, TCC 29 (also with 22), we use attrib to reset -A but it does not work ... see sample below. [0][e:\bs13\init]attrib Init.rc ___A_____________ E:\BS13\init\INIT.rc [0][e:\bs13\init]attrib...
View ArticleKey Mapping
Hello everyone, I use AutoHotKey to map keys which run AHK scripts. Works great. I have F12 mapped in AutoHotKey which works everywhere except if TCC (from withing TCMD) has the focus. AutoHotKey never...
View ArticleCopy to clipboard 1 to 9 via Plugin
I've taken a look at the TakeCmd.h file, and note the following; Code: /******************************************************************** * * Clipboard functions *...
View ArticleSharing CLIP1 to CLIP9 with another TCC
Starting a new tcc.exe, and then executing the CLIP command, shows that CLIP1 to CLIP9 are empty. In an already running instance of tcc.exe, CLIP1 to CLIP9 have text in each clipboard. Is there a...
View ArticleQuote mangling in TCC
What's going on here? Code: C:\>set test=%@char[8220 8220 8220 8220] C:\>echo %@ascii[%test] 34 8220 8220 8220 C:\> I can only guess. Perhaps TCC temporarily hides the first quote in a string...
View ArticleHow to use CLIP1: to CLIP9: with the Ditto Clipboard program.
Ref: Sharing CLIP1 to CLIP9 with another TCC This could probably be modified to work with the Windows 10 Clipboard History, but I will leave that for another time. I currently CALL this .BTM from my...
View Articlewhole paths shown in dir
If I type "Dir /B" when in a folder in Dropbox each filename is supplemented with the whole path in square brackets. If I type "Dir /B" in a folder in my hard disk it does not do this. What is the...
View ArticleTakeCommand's usage tips?
My plugins export a "Usage" function and I wanted to test it. But I can't remember how/when/where TakeCommand displays usage tips. Would someone please refresh my memory?
View ArticleTCMD29 in Windows 10 Sandbox
I start Windows 10 Sandbox via the following .wsb; Code: <Configuration> <MappedFolders> <MappedFolder> <HostFolder>E:\Downloads</HostFolder>...
View ArticleTrouble piping output of command to input of SENDMAIL
Is this WAD, or is this a bug? I'm having trouble piping the console output of a command/file to the console input of SENDMAIL Code: [100%] D:\Users\Mark\Documents\test 4\PipingTest>alias sendmail...
View ArticleTake Command tab not displaying coloured text from Rust compiler
For the obvious reasons I had cause to upgrade my development system from Windows 8.1 to 10 (22H2) today and I am now suffering from an odd problem that was not happening with the same version of Take...
View ArticleTCC LE crashes without any info after recent windows updates
TCC LE (at least versions 13 and 14) has recently started crashing / disappearing after short while, like after 5-15 minutes even when it's just idle. There is no error popup or anything, it just...
View ArticleI'm New Here I Need CMDebug Help
I've used various interactive debuggers over time and most have a way to move/set the next line to be executed. I didn't want to have to reset my batch file which is rather lengthy but instead just set...
View ArticleV29 can't run vcvars64.bat
I get an endless stream of these. Code: v:\> "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" TCC: C:\Program Files\Microsoft Visual...
View ArticleSending filenames with directory aliases to external commands
@TRUENAME will help. Note that @TRUENAME quotes/unquotes filenames as necessary (and does not check for their existence) I use several directory aliases. And I have the alias e=call u:\tpad.btm. The...
View ArticleDocument that @TRUENAME handles directory aliases
It should be documented. Trial and error shows that @TRUENAME handles directory aliases, quoting/unquoting as necessary. This is useful if you want to send a filename using a directory alias to an...
View Article