Using ALIAS as Shared Memory
There are many ways to share memory with TCC 64-bit and a 32-bit application. Here's a method that I use. In the source code below, and the notes that follow, I have a few issues, but they have not...
View ArticleCustom prompt - pretty easy to modify.
It might be too noisy for some, but here's some custom prompt code that helps show OS/Host/Git Context/Error level/Subshell Depth. Preview with commands to display the status bits In tcstart.btm...
View Articlerandomize usb-stick audio for players that won't shuffle
Tired of bluetooth speakers that won't play the contents of a usb stick in shuffle order? Why not prefix each song with a random 4 digit number? fix the problem in TCC by randomizing the filesort via...
View ArticleExecute Command upon changing to a specific directory
When I change to my E:\Utils directory, I usually do a directory listing of files modified in the last day. I have automated this with the following alias; Code: alias cd_enter=`if %1 eq e:\utils dir...
View ArticleSOLVED: Request: @STRIPANSI[] function
This one is killing me because TCC doesn't have regex substitution that I know about, and I'd rather not rely on sed. I just want to be able to do: Code: set CLEAN_TITLE=%@STRIP_ANSI[%title_with_ansi]...
View ArticleCan't install v33 and error message doesn't feel accurate
It's definitely running.... Restarting it didn't help.
View ArticleEyeBurner plugin and PowerShell Profile
I'm trying to create a PowerShell profile for the EyeBurner plugin. This is what I have so far, in the EyeBurn.ini; Code: [PowerShell] StdColors=Bri White on Black InputColors=Bright White on Black...
View Article@SELECT still not working as expected
Now - with the last version of TCC - the answer of a normal iteration is as below, instead of 16 lines and 31 columns.
View Articleability to install with winget?
I'm trying to automate my environments as much as possible โ including the automation of rolling out common programs I use. Is there a winget command to install TCC?
View ArticleAny way to make .envtc files work in subfolders like direnv?
I learned a while ago that TCC offers a feature much like the popular direnv utility, which can set and unset environment variables when you enter/leave a folder. But I've since learned that it differs...
View ArticleDownloading TCMD.EXE
Since TCMD.EXE can no longer be copied to the local system using the internal COPY command... Code: R:\>copy /g https://jpsoft.com/downloads/v33/tcmd.exe https://jpsoft.com/downloads/v33/tcmd.exe...
View ArticleReplace CTTY in old .BTM
Pretty much what it says in the title. I'm rummaging through old .BTMs to see if any are of any use and I came across one that uses CTTY to redirect output to NUL. Other than adding >&NUL to the...
View ArticleIndicate .exe and .dll type in DIR command
In the Tasks plugin, the Tasklist command can display extra information about each process, using the /E switch. That is, 32-bit programs are marked with a guillemet: ยป when using the Tasklist command....
View ArticleSubstituting for SET variables
This is really elementary, but it's been a long time(*) since I've had to deal with it: I set a local variable: set NRoot=N:\LocalFBu\CRoot\ Which I want to use in something like set QQSV=cd...
View ArticleDO i=1 to %# in an alias?
Why doesn't this work? Code: v:\> alias nargs `do i=1 to %# ( echo %[%i] )` v:\> nargs a b c Usage : DO [n | FOREVER] According to the help for ALIAS, The special parameter %# contains the number...
View ArticleRemove Duplicate Lines from a File
XSORT, a command introduced in v33, can remove duplicate lines from a text file. Code: R:\>type test.txt Line 1 Line 2 Line 3 Line 4 Line 2 Line 4 R:\>xsort /d test.txt Line 1 Line 2 Line 3 Line...
View ArticleAdd a Windows Terminal forum
Add a Windows Terminal forum alongside the CMD and PowerShell fora. I think this would be useful both for Windows Terminal discussion in general, and to discuss specifics of running TCC in Terminal...
View ArticleSERVICEMONITOR suggestions
I wanted to monitor the starting and stopping of a service. SERVICEMONITOR would be a lot easier to use if it ... 1. could watch for more than one condition (notably, STARTED or STOPPED), and 2. would...
View ArticleWAITFOR and /EXIT=5
Start an .exe for testing. Code: R:\>notepad.exe This does not work; Code: R:\>waitfor /Exit=5 notepad.exe TCC: Unknown process "notepad.exe" This does not work, just returns to the prompt; Code:...
View ArticleWAITFOR, _? is always 2
I can't get it to return anything but 2. A distinction between timed out and satisfied would be nice.
View Article