gosub and label search
The doc/help for gosub states that it searches for the label starting with the line after the gosub. So if I have a bat file that issues “gosub :foo” 1000 times will it search 1000 time or remember the...
View ArticleAbort on error DO loop
If I have a command line DO that is operating on a list is it possible to abort the DO if the command errors? E.g. Code: do f in /l a b c (somecommand %f) If somecommand errors while working on a or b,...
View ArticleTCMD Colors
I have always kept the TCMD.ini file to retain color and other settings. Tonight though, when I installed TCMD v27.01.23, the colors are off. TCMD has a bright blue background instead of dark blue or...
View ArticleInserting string into a variable.
I'm trying to insert "new-" at the beginning of a filename that was read for the command line into a variable. Why doesn't this work (and no insults please :)) set filmname=%$ set...
View ArticleAsking suggestions for repurposing early-failing 4TB drive
I'm asking for suggestions to repurpose an external 4TB showing early signs of failure. Until this weekend it was my primary backup drive. I was running a defrag and it started some clicking. The...
View Articlerobocopy cancelling batch file processing
I have a set of (.BTM) batch files that I use to update offline copies of my working directories that use the robocopy program. The top level batch files call a common batch file to perform the work in...
View Article%@regex["^-","-a"] returns 0, "^-" =~ "-a" is false (no match)
Let's see if the string "-a" looks like an option, that is, whether it begins with a hyphen: Code: echo %@regex["^-","-a"] 0 How odd. Maybe it must match the full string, even though that would make...
View ArticleCitrix and licensing
Greetings, My company has a 30 user license for an older TCC (v22). The business has decided to go to entirely virtual with Citrix VDI for all users. Are there any licensing or usage issues with...
View ArticleEVENTLOG Command with simple User Rights not functional
Hello JPSoft Team, Before, Thank Your for a great Product on long Time. Here my Problem. I use for Take Command Scriptings most a simple User Account from local Windows Group User. From Time to Time i...
View ArticleCS-Script Engine
Is it possible to integrate the CS-Script Engine into a future version of TCC, or would it be better to integrate it into TCC via a plugin? Joe
View ArticleMS-DOS Player for Win32-x64
This is an MS-DOS emulator that runs on Win32-x64 command prompt. 16bit MS-DOS compatible commands can be executed on Win32-x64 envrionment. Last update was May 10, 2020. Tested and works on Windows 10...
View ArticleSWITCH statement with regexes or wildcards as CASE expressions
Hi! So I am writing, of all things, a batch file that creates a multipart MIME message body. Part of that is looking at a file name and determining its MIME type. The file name is given like so:...
View Articlefree (internal) command
Hello — Can anyone explain this — I have a (video) dvd mount on my win 10 system – the dvd drive is w: — when I use the (internal) free command it notes that size of the disk is in line with a dvd-9...
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 ArticleTesting for Presence of Toolbar
Can anyone suggest a way to test whether a TCMD toolbar is present, i.e., if there is at least one button? I have a script in which I want to reload my standard toolbar only if no toolbar is already...
View ArticleIDE watch references
How do we stop IDE from adding "doubling" watch references to called & gosub external scripts. Also no change in Font sizes (enlarged image) v27.01.23
View ArticleCMDLINE and CMDLINE2
I'm not sure what to suggest. I have been doing some programming involving environments, and I've looked at the environments of many programs. Here, TCC runs a logon script which, among other things,...
View ArticleAdd VHD to @drivetype
When I use @drivetype against a vhd drive, it returns; Code: e:\utils>echo %@drivetype[g:] 3 Please allow @drivetype to return if a drive is a vhd drive. PowerShell can determine the drive letter...
View ArticleWhat Windows Version for what TCMD Version
Expand the table at Download previous versions of Take Command, 4NT, and 4DOS to include what version of Windows is required for each version of Take Command (DOS, Win31, Win95, Win98, XP, Vista, 7,...
View ArticleImplement an "Add TCC to the task bar" in the TCMD installer.
This way, those of us who frequently launch TCC windows separate from TCMD won't have to do it manually each time we install a new version.
View Article