Name of current running gosub routine?
If I used the call label construction the name of the running 'routine' is in the variable %0. Is there a same mechanism if we using gosub subroutines? I could not find an internal variable for this...
View ArticleMyWindow plugin including CENTER
Hi @Charles Dye, Thanks for the new CENTER verb in your mywindow.dll plugin. Many of the programs that I run have been created using MS-DOS Programming languages, and require a screen size of 25 rows...
View ArticleUnable to Specify INI File
When I run the following command (from TCC or even CMD) tcmd.exe @c:\temp\tcmd17.ini​ TCMD starts up, but the ini file is nevertheless the default file C:\Users\Jay\AppData\Local\JPSoft\TCMD.INI​ What...
View ArticleNitpick about %@unique[]'s generated files.
I've been fooling around with the @unique[] function, and I've noticed something about the random infix it uses: It's fairly obvious that in both "short" names, a '0' was meant to be there but was...
View Articleusing version 8.0
I am using a registered version 8.0 but all of a sudden my program gives the message that my verison is out of date It looks like I cannot reenter my registration key Whats going on?
View ArticleName of Parent Process
I've added this variable definition to my TCStart.btm file; Code: set _ppname=%@word[1,%{0,enumprocesses %_ppid}] This will give me the name of the parent process of the TCC.EXE from which I am...
View Articleendlocal not restoring the directory stack or the CWD on drives
setlocal echo C:\ C:\ echo D:\ D:\ echo E:\a E:\a pushd c:\windows pushd d:\proclog pushd e:\logs endlocal echo C:\ C:\ echo D:\proclog D:\proclog echo E:\logs E:\logs dirs C:\ C:\Windows D:\proclog
View ArticleQuirky behavior - converting to lower case
Using: TCC 32.10.21 x64 I use this to convert all the files in a folder to all lower case. for /o:n %a in (*.mp4 *.mkv) do (ren "%a" "%@lower[%a]") 99% of the time it works perfectly , but every once...
View ArticlePowershell 7 tab in TCMD
I stumbled into getting a Powershell (5) tab set up. How do I change it so that that table loads PowerShell 7? I tried just pasting the path to 7 in the command-line, but I'm doing something wrong...
View ArticleHovering on a forum user's name?
It used to be that if you hovered on a forum user's name you got a brief popup blurb (last seen ...). That stopped working recently. Then, yesterday, it worked again. Today its not working again. When...
View ArticleZip files in a folder into monthly archives
I am looking to traverse files in a folder and move them into monthly zip files (yyyy-mm.zip) based on the files creation dates. Looking at the documentation I can see how its possible to create zip...
View ArticleIncorporate TCMD / TCC aliases and commands into Powershell 7
How do I incorporate PowerShell 7 into TCMD and TCC ? This including aliases?
View Article%userprofile%\AppData\Local\Microsoft\WindowsApps
I'm looking at the @Shfolder function, seeing if one of them points to %userprofile%\AppData\Local\Microsoft\WindowsApps I'm not saying there should be a @Shfolder value for this, but it seems there is...
View ArticleWindows 10 Start Menu from Console
Demonstration of using Windows 10 Start Menus (System and User) from the Console Code: @SETLOCAL @ECHO OFF :: File: strtmnu.btm :: _4ver: 32.10 :: _winver: 10.0 :: :: Viewer that I use for DebugString...
View ArticlePowerShell Pro Tools is now free and open-source.
For those not aware, PowerShell Pro Tools is now free and open-source. If you want a better PowerShell ISE, this is a good choice. PowerShell Pro Tools support PowerShell 7 (x64), as well as Windows...
View ArticleDetermine if login is in progress?
In ...\start menu\programs\startup I have a shortcut to logon.btm. The BTM runs automatically when I login interactively. Can the BTM determine if it's being auto-run in this way. I could,...
View ArticleFSEARCH dialog, german translation: umlauts and "sz" are missing
FSEARCH dialog, german translation: umlauts and "sz" are missing, see here: That's probably because it's not displayed in UTF-8.
View ArticleFSEARCH and _?
As far as I can tell, FSEARCH always sets _? to 0. Could you make it so that _? is 2 when no matches (files or text) are found?
View ArticleFix ISAPP
Sometimes ".EXE" must be present. Code: v:\> if isapp outlook.exe echo yes yes v:\> if isapp outlook echo yes v:\> Sometimes ".EXE" must not be present. Code: v:\> if isapp wininit.exe echo...
View ArticleWhich copy of TCMD.ini?
I show three copies of TCMD.ini: C:\ProgramData\JP Software\Take Command 27\TCMD.INI, C:\Program Files\JPSoft\TCMD27\TCMD.INI, and C:\Users\All Users\JP Software\Take Command 27\TCMD.INI. DO I need all...
View Article