KEYSTACK - cannot send AltGr characters
I have a problem using KEYSTACK to send characters produced by the Alt Gr key. For example: Code: [C:\]keystack "@£$€{[]}\" [C:\]2£4€7890+ It sends the key that would have been produced without AltGr...
View ArticleHere is a (subjectively) better cd / cdd extended search
TLDR: Exact matches at the top, prefix matches next, substring matches last, each ordered by last access time. Requires 'everything' installed and 'es' on the path. ---- Years ago my muscle memory got...
View ArticleCOMMAND.COM IS 40 YEARS OLD
Checked just out of curiosity. command.com first came out in 1980, so it's 40 years old. If Microsoft had continued ACTIVE development for FORTY YEARS--TCMD is what it would look like today.
View ArticlePipe only stderr....
(No, not stdout AND stderr)... This is a pipe dream... even the *nix shells don't seem to have it. Too many console apps want to use curses or other random ass code that can't handle stdout being...
View ArticleKeystroke for Horizontal Group
Is it possible to attach a keystroke to Horizontal Group? The Customize dialog only lists "Tab Groups" under Commands.
View Article@DATEFMT Function Problems
I am trying to use the @DATEFMT function to simply print Saturday, December 25, 2021. Please see the problems below. Code: D:\Work\ > ver TCC 28.02.18 x64 Windows 10 [Version 10.0.19042.1415]...
View ArticleDate Difference, passing dates in several formats
Here's a library function that uses the script command, the tcommand() interface, and VBScript, to determine the number of years (full and part) given a date by the user; Code: DateDiff { @setlocal...
View ArticleUsing VBScript functions from TCC22
I am a frequent user of VBScript, and have added the following to TCC22 to make using VBScript functions easier; I have created a library file; Code: vb { @setlocal @echo off echo set...
View ArticleUsing Regular Expressions with the REN commanc
I have a folder containing files generated by screen captures. The files are named ImageN.jpg and imageNN.jpg, where N is of course a digit. I want to rename all the ImageN.jpg files to Image0N.jpg and...
View ArticleQuestion on NOT traversing subdirectories with DO
I don't know whether this is intentional DO behavior. The documentation states that the /D option (specify a starting directory) is for use with the /S option (traverse subdirectories). The /D option...
View ArticleThe FTP.CFG file doesn't seem to work
I might not be doing something right, but I can't seem to get the FTP.CFG file to work as specified in the documentation. I've added my FTP site to it in the format specified: ftp://myftpsite.com...
View Articleini directives on the command line
I want to override the “stdcolors” directive in my ini file and use the command line option //stdcolors= but the syntax for that directive is “color on color” and when using the command line option...
View Article@winapi GetWindowThreadProcessId , PDWORD=PID , PID is not assigned
GetWindowThreadProcessId(handle,PDWORD=n) does not give a value back for second parameter. TCC v28 Code: set hprogman=%@winapi[user32.dll,FindWindow,Progman,"Program Manager"] set...
View ArticleDebug without first saving to a file
In the VBSEdit.exe editor for VBScript, I can type lines of code into the editor, and can then single-step debug the code without first having to save it to a file on disk. This is great when I just...
View Articleunelevate possibility?
If I'm running a tcc window that is elevated with full admin privileges, and want to execute a command that's "unelevated" (doesn't have the full admin privileges), how might I do that? I know how...
View ArticleCall a batch file with variable?
I'm doing call %ANDROID_SIGNER% sign -v ...etc where ANDROID_SIGNER is set ANDROID_TOOLS_PATH=%ANDROID_SDK_PATH%\build-tools set ANDROID_TOOLS_VER=29.0.2 set...
View ArticleRun TCC scripts on a non-TCC computer ?
Apologies, first of all - I am SUCH a noob ! Q1 - I have a task I want to automate on my clients' PCs– I already have a script embedded in the backup routine, it creates a file – ‘backup verify...
View ArticleIF ISNUMBER ... ?
Is there a simple way to determine if a string will represent a number when passed to @EVAL? If there is, I missed it. If not, it would be useful
View ArticleEverywhere is already installed
Hello everybody. I have a problem that won't let me install TCC. Everything search service is already installed on my machine, so while installing TCC I choose "Do not install Everything Search"....
View Article