CMDebug:

 

Many security, performance & size improvements.

 

The Scintilla edit control has been updated to version 5.3.7.

 

The Lexilla syntax coloring control has been updated to version 5.2.7.

 

The Toolbox window has been updated with all of the new commands, command dialogs, variables, and functions since v27.

 

The "Go To" dialog now shows the current line, the current column, and the total number of lines in the tab window.

 

There is a new "RegEx Filter" combobox on the toolbar. If you enter a string in the filter box, the debugger will hide all non-matching lines in the current tab window.

 

There are three new features in the "Find" dialog box:

 

The Find text edit control is now a combobox, so you can retrieve prior search strings

There is a new "Wrap" checkbox option that will (continuously) loop through the document

There is a new "Mark All" button that will place a bookmark on each matching line in the document. Marking supports either extended TCC wildcards (i.e., *, ?, []) or regular expressions. If you enter a string with no wildcards, a * will be prefixed and appended to the string (i.e., *string*) to find a match anywhere in the line.

 

There are five new features in the "Replace" dialog box:

 

The Find text edit control is now a combobox, so you can retrieve prior search strings

The Replace text edit control is now a combobox, so you can retrieve prior replacement strings

There is a new "Wrap" checkbox option that will (continuously) loop through the document

The regular expression option supports RE replacements

The Replace dialog now displays the number of replacements in the bottom right

 

 

TCC-RT:

 

Many security, performance & size improvements.

 

TCC has a new pseudo-character device. TMP0: - TMP9: are similar to CLIP-: - CLIP9:, but are a little faster because they always work in UTF16 (so they don't translate to/from ANSI), and they don't need to access the Windows Clipboard (for CLIP0:). They also do not rotate like CLIPn: when something is pasted to the Windows Clipboard. Like CLIPn:,  TMPn: values are local to the current session of TCC-RT.

 

Prefixing a command name with a * will now ignore library function name matches (as well as the previous behavior of ignoring alias name matches).

 

 

Help:

 

The eWriter file viewer has been updated to version 4.0, and the skin for the CMDebug help has been rewritten.

 

The help is build with a new version of Help & Manual (9.2).

 

 

New Internal Variables:

 

_PBATCHNAME - Returns the name of the parent batch file. If there is no parent (the batch file was not CALL'd), it returns an empty string.

 

 

Updated Internal Variables:

 

_VOLUME - Added workaround for Windows 10/11 bug on some systems.

 

 

New Variable Functions:

 

@TMP[n,id] - Returns line n from the specified TMP device (0 - 9).

 

@TMPWN[id, string] - Writes the string to the specified TMP device (0 - 9).

 

 

Updated Variable Functions:

 

@WSLPATH - Now does a "truename" to see through network assignments, junctions, symbolic links, SUBST's, and home directory references.

 

 

Updated Commands:

 

CLIP

 

The /C and /S options accept the clipboard argument either as a digit (0 - 9) or a string (CLIP0: - CLIP9:).

 

COPY

 

/DS:[acwu]yyyy-mm-dd - Change the date timestamp on the target file(s) to the specified date.

 

/RCT - Request the transfer channel compress the data during the copy operation. In Windows 10+, this option is supported for files residing on SMB shares where the SMB protocol version is v3.1.1.1 or greater.

 

/TS[acwu]hh:mm:ss.ms - Change the time timestamp on the target file(s) to the specified time.

 

DO

 

/Y - Read a one-dimensional array and assign each value to the DO variable.  For example:

 

do x in /Y MyArray

   echo x = %x

enddo

 

INKEY

 

/T - display a countdown timer (/Wn is also required).

 

INPUT

 

/T - display a countdown timer (/Wn is also required).

 

LIBRARY

 

Prefixing a command name with a * will now ignore library function name matches (as well as the previous behavior of ignoring alias name matches).

 

The LIBRARY command dialog now supports the /N (display library name + function) and /Q (don't display errors) options.

 

MOVE

 

/DS:[acwu]yyyy-mm-dd - Change the date timestamp on the target file(s) to the specified date.

 

/TS[acwu]hh:mm:ss.ms - Change the time timestamp on the target file(s) to the specified time.

 

REBOOT

 

/A - Restart applications. Shuts down the system and then restarts it, as well as any applications that have been registered for restart using the Windows RegisterApplicationRestart API.

 

/F - Force the specified reboot option. This option does not send the WM_QUERYENDSESSION message to applications, so this can cause applications to lose data. This option is only valid when used with the /P, /R, or /S options.

 

/H (hybrid shutdown) - Prepare the system for a faster reboot. This option is only valid wihen used with the /P, /R, or /S options.

 

RESOLUTION

 

Now displays the scaling factor (100% - 500%) and the DPI (x and y) for each monitor.

 

TASKLIST

 

/Nf - don't display the TASKLIST footer.

 

 

New Commands:

 

TMP

 

TMP displays or modifies the 10 TMP pseudo-character devices available in TCC (TMP0: - TMP9:). The syntax is:

 

TMP [/C clipn: /S clipn: text]

 

/C - Clears TMP device n
 

/S - Sets TMP device n to text

 

If you don't specify any arguments, TMP will display the current contents of TMP0: - TMP9:.