1431 emoji environment variables for your echo'ing convenience
I spent embarrassingly long programmatically generating these in python. In the end, you get a file (emoji.env) that you can read with "set /r emoji.env" in about 0.7 seconds to grant access to emojis...
View Articlepshell command crashes TCC process entirely
discovered this bug when looking for a solution for something else at how to read entire file into environment variable? Got a pshell command that just crashes the shell entirely.
View ArticleAny Workarounds for @if When False Case Generates an Error?
I have been wrestling with creating user-defined functions that use the @IF function to choose between two cases. As the help clearly points out, both the true and false cases are evaluated, so they...
View ArticleReset STD_INPUT_HANDLE after running an external.
Some (ill-behaved?) externals apparently monkey with the mode of STD_INPUT_HANDLE (see this thread). I suggest TCC reset the mode after running an external app.
View ArticleBest way to bring window back to focus?
I've done this before, but I'm using TCC under Windows Terminal now and I think the window internal command doesn't work under Windows Terminal. I really wish the "Activate" command could be used on...
View Articlebest way to copy rest of file after a CRLFCRLF is found
What is the best way to copy the rest of a file after a CRLFCRLF is found?
View ArticleWHICH /A and SYMLINK
In the "What's New in Version 30" section of the TCC Help file, for the WHICH command, it says; If the command is a symbolic link and you used the /A option, WHICH will display the symbolic link for...
View Articlebest way to *quickly* list environment variables, but not their values?
Right now i'm running set through sed, but it takes overhead and I'm trying to make some things go faster. Is there an internal way to list all environment variable NAMES without listing their values?
View Articleecho-rainbow.bat - rainbow-ize any message
Rainbow-echo (echo-rainbow.bat). Included in attachments is echo-rainbow.bat, as well as set-colors.bat which is optional and used in a non-required way. Code: @echo off rem *** Are we running in test...
View ArticleActivate command with absolute coordinates does not place window consistently
I have a pesky window (winamp's album art plugin) that tends to move "on it's own" far too often due to some weird glitchiness that no human being will likely ever solve. So I use the activate command...
View ArticleRegular Expressions in @REREPLACE
Am I misunderstanding something here. The first command does what I expect. In the second one, the negation of the character set is ignored. TCC(30.00.22): C:\>echo %@rereplace["h[io]",!,hat het hit...
View ArticleDirname completion
I have a question regarding expansion of MD dirname<tab> not working as I have been used to. E.g. I have a file called `LICENCE, but also need to create a directory called LICENSES. So I thought...
View ArticleProspero returns
My little web server is online again, in a new incarnation. My TCC plugins are here: Plugins for Take Command Please ignore all remaining references to FTP downloads. I have removed anonymous FTP, and...
View Articletpipe /simple=35
I think it would be a good / great id4ea to say that it would remove all lines before a double CRLFCRLF - IOWs everthing up to and including the first blank line, and cite the ISO nnnn.. with details...
View Articletpipe instructions for newbies
For newbies, are there instructions for writing tpipe commands? There is a long list of parameters but I can find no examples how to write the commands. For example, how do I make it sort lines of a...
View Articleendlocal incompatibiliy with cmd.exe
Hi, consider this batch file: @rem endlocal test @setlocal @set _XBLA_=Hello @for %%A in (%_XBLA_%) do @endlocal & @echo %%~A In cmd.exe it displays "Hello", in tcc it displays "ECHO is off". TCC...
View ArticleTCC finicky with external keystroke apps?
I've created a set of complex batch files that often times take a complex set of parameters which I tend to forget a lot. Rather than always looking them up, I've been trying to fiddle with a database...
View ArticleSplit 174 Meg file into parts
I didn't see that TCC had a split / cut function but does any of the plugins have it? Have to split it into parts as Sktpe can't send that large a file...
View ArticleUsing Swiss File Knife to Split/Join a large binary file
Here's an example of using the Swiss File Knife utility to split a large binary file; Code: E:\Utils>sfk split 2g e:\utils\iso\windows.iso splitting into files of 2000000000 bytes each....
View ArticleSpruced-up date/time-display using emojis & ANSI
Just an overthought "what time/day is it?" command that uses Windows Terminal's nice emoji & ANSI rendering capabilities... qd.bat - attached Clock emoji changes to be as accurate as possible: The...
View Article