Take Command 21.01:

 

BDEBUGGER / IDE - the "CMD Syntax" option now maximizes CMD compatibility & disables TCC-only internal commands, variables, and functions.

 

BDEBUGGER / IDE - The Options menu has a new entry "Font" to select the font type and size to use in the IDE windows.

 

IDE - Added tooltips to all menu entries.

 

Many minor optimizations.

 

Updated Scintilla editor.

 

New TCMD.INI directive ANSIWin10=YES|no (in the [4NT] section). If set to NO, TCC will use its internal ANSI instead of the Windows 10 console ANSI support.

 

Help file updates, including a much expanded IDE / batch debugger section.

 

Take Command 21.0:

 

Installer:

 

Take Command is using new version of Advanced Installer.

 

 

Take Command:

 

Take Command has extensive internal revisions to make it smaller and faster, and to start up faster. And Take Command v21 uses less disk space.

 

We have made a lot of changes to Take Command to make it harder to attack with malware (for example, with buffer overruns).

 

Take Command is compatible with the Windows 10 Creators Update.

 
Take Command is using a new version of the GUI framework.

 

Take Command is using a new version of the Scintilla edit control (for the IDE / batch debugger and the Take Command Command Input window).

 

Take Command is using a new version of the Onigmo regular expression library.

 

Take Command will use the new Windows 10 built-in ANSI support instead of ANSIxx.dll if you're running Windows 10 Creators Update (or later) and you enable ANSI support in Take Command (Options / Take Command / Tabs / Windows / ANSI colors). This will enable ANSI for all tab windows. (Note that due to as-yet-noexistent Windows APIs, Take Command cannot support the 256 color or 24-bit color options in the Windows 10 ANSI.)

 

Take Command has a new option in the Tools menu. "Windows Error Lookup" will open a small dialog that lets you look up Windows and network error messages based on the integer value.

 

Take Command has another new option in the Tools menu. "Char Map" will open the Windows Charact Mapping dialog that lets you look up and copy characters for any font.

 

Take Command has a new startup option:

 

/X - Retrieve and store the Take Command window layout in a file (TCMD.XML) instead of the Windows Registry. This is for systems where the administrator has locked registry write access (even to HKEY_CURRENT_USER).  The TCMD.XML file must be in the same directory as TCMD.INI.

 

The File ribbon menu has a new option "Save HTML", which will save the current tab's screen buffer to a file in HTML format (including colors).

 

The Help / Register dialog has a new option "USB (Portable) key" to generate a registration key on the USB (thumb) drive & directory of your choice. You can also now create a USB registration key even if you have already registered Take Command on the computer.

 

The Help / Register dialog has a new option "Unregister" to remove the Take Command registration from the current computer.

 

The Command Input window now supports "Paste+Run" and "Copy+Paste+Run" in the context menu.

 

The tab context menu (right click on the tab title) and the Tabs ribbon menu each have two new options:

 

Suspend - suspends all processes in this tab

Resume - resumes suspended processes in this tab

 

The "Attach Tabs" menu entry in the tab bar context menu (right click on the tab bar in an empty space) and in the Tabs ribbon menu is now disabled if there are no unattached console windows.

 

The tab context menu (right click on the tab title) and the Tabs ribbon menu each have a new Priority menu that allows you to set the priority level for the process running in the tab:

 

IdleIdle priority (only executes when no higher priority task is scheduled)
BelowBelow normal priority
NormalNormal (default) priority
AboveAbove normal priority
HighHigh priority

 

The Run dialog (right click on the tab bar in an empty space) now allows you to set the priority of the program to run. (See above for the possible priority values.)

 

The toolbar button dialog now allows you to set the priority of the program to run. (See above for the possible priority values.)

 

The Tabs page of the Take Command configuration dialog now lets you set the priority for the startup program in each tab window.

 

Cursor keys, F1, Backspace, and Del will no longer turn off selected text.

 

Changed the default Take Command tab window font from Lucida Console to Consolas. (Lucida Console doesn't support double-wide characters.)

 

The tabbed toolbar no longer defaults to hiding the tab label if there is only one tab. (This was confusing users and made it difficult to understand where your new buttons were being placed.) Also, if you select the Take Command menu option "View / Tabbed Toolbar", it will show the tabbed toolbar even if there are no buttons. This makes it easier to add buttons and to create new tabs.

 

 

TCC:

 

TCC has extensive internal revisions to make it smaller and faster, and to start up faster.  And TCC v21 uses less disk space.

 

We have made a lot of changes to TCC to make it harder to attack with malware (for example, with buffer overruns).

 

TCC is compatible with the Windows 10 Creators Update.

 

TCC is using new versions of the internet libraries (FTP, FTPS, SFTPS, HTTP, HTTPS, etc.).

 

TCC is using new versions of the compression libraries.

 

TCC is using a new version of the Onigmo regular expression library.

 

Everything Search has been updated to a new version.

 

The internal Lua has been updated to 5.3.4.

 

The internal embedded Python support has been updated to include 3.6.0.

 

TCC supports 24-bit color if you're using Windows 10 Creators Update. If you are running TCC in a Take Command tab window, enable ANSI support in Take Command (Options / Take Command / Tabs / Windows / ANSI colors). If you are running TCC in a console window, you need to enable ANSI support in TCC (OPTION / Windows / Colors / ANSI Colors). Use the appropriate ANSI sequences to set RGB colors.

 

TCC will automatically remove a leading "file://" from a filename spec before passing the filename to Windows.

 

All of the monitoring functions are thread-safe (for multiple simultaneous monitor activity).

 

Changing the language in TCC no longer requires restarting TCC.

 

HTTP transfers now support compression for receiving data, so large copies should be significantly faster.

 

The overhead for the TCC monitoring functions (i.e., DISKMONITOR, FOLDERMONITOR, etc.) has been substantially reduced.

 

 

IDE / Batch Debugger:

 

IDE has extensive internal revisions to make it smaller and faster, and to startup faster.

 

IDE is using a new version of the Scintilla edit control for the IDE / batch debugger window.

 

The debugger toolbar has some new button icons.

 

IDE has a new option in the Debug menu. "Windows Error Lookup" will open a small dialog that lets you look up Windows and network error messages based on the integer value.

 

The batch arguments combo box on the toolbar now shows the default arguments. You can change them before running the batch file.

 

The Batch Variables window now supports modifying any of the batch arguments during execution of the batch file.

 

You can block select in the edit window by holding down the Alt key while selecting text with the left mouse button.

 

The edit window now supports multiple selections at one time. You can select additional text by holding down the Ctrl key while dragging with the mouse. Multiple selections are added to the clipboard in order with no delimiting characters. For block selections, the line end is added after each line of text. Block selections are always copied from top to bottom, not in the order of selection.

 

The Watch tab now defaults to always showing two variables:

 

 %_? - The last TCC result value

 %? - The last ERRORLEVEL value

 

The edit control is now using antialiasing for better text display.

 

The IDE / debugger will now search the path for the filename(s) if they do not have a path and are not in the current directory.

 

The IDE / debugger will now expand relative pathnames (i.e., "...\mybatch.cmd" etc.) before searching for the file.

 

 

Help:

 

The v21 help is built with a new version of the help compiler (Help & Manual).

 

The help has been expanded with more examples, tutorials, and key words.  

 

 

INI Directives:

 

The color directives (in TCC, the input color, output color, and error color, and in Take Command, the tab window colors) no longer require you to enter both the foreground and background colors. If you only enter one, TCC or Take Command will use the current default color for the other.

 

SmoothScroll - has been removed. (It no longer makes sense with modern video cards -- you can't see the difference anymore.)

 

CMDBatch=NO|yes - If YES, TCC will run all .BAT and .CMD files in a CMD.EXE shell. (For those of you using poorly-written batch files that depend on CMD bugs or undocumented behavior.)

 

ReadConsole=NO|yes - If YES, TCC will use the Windows ReadConsole API (like CMD) to read its line input. If you set ReadConsole=Yes, then you will lose *all* of the TCC line editing features.  Windows will pass the line back to TCC for processing when you press Enter.  This option is intended for users who have an extensive editing setup using something like CLink and don't want to convert everything over to the TCC format.

 

TabClosePrompt=NO|yes - If YES, Take Command will display a messagebox when a tab window is closed and the console process's exit code is != 0, showing the process ID and the exit code.

 

XMLSettings=NO|yes (in [TakeCommand] section) - If YES, retrieve and store the Take Command window layout in a file (TCMD.XML) instead of the Windows Registry. This is for systems where the administrator has locked registry write access (even to HKEY_CURRENT_USER).  The TCMD.XML file must be in the same directory as TCMD.INI.

 

XMLSettings=NO|yes (in [4NT] section) - If YES, retrieve and store the IDE window layout in a file (IDE.XML) instead of the Windows Registry. This is for systems where the administrator has locked registry write access (even to HKEY_CURRENT_USER).  The IDE.XML file must be in the same directory as TCMD.INI.

 

 

Command Line Editing:

 

Ctrl-Shift-Up - Change to the parent directory (like a "cd .."). If you have anything on the command line, it will be saved to the command history before the directory is changed.

 

A Ctrl-C will now reset the current history pointer (like a new command entry).

 

Alt-F2 - Invoke a command dialog if an internal command is the first argument on the command line. (Note: this used to be Alt-F1, but now Windows is eating that keystroke and not passing it on to TCC or Take Command.)

 

Ctrl-W - Expanded aliases at the command prompt. (Note: this used to be Ctrl-F, but Windows 10 is using Ctrl-F to pop up a console search dialog.)

 

 

New Variable Functions:

 

@CKSUM[filename] - Returns the cksum (CRC32-ish) matching the Unix / Linux cksum utility (Posix 100.32 decimal format).

 

@PLUGIN[module] - Returns the full pathname for the specified plugin name.

 

@PROCESSIO[pid, option] - Returns the I/O information for a process.

 

pid - The Process ID

 

option - The requested info:

 

0 - The number of read operations performed

1 - The number of write operations performed

2 - The number of I/O operations performed, other than read and write operations

3 - The number of bytes read

4 - The number of bytes written

5 - The number of bytes transferred during operations other than read and write operations

 

@PSHELL[expression] - Execute the PowerShell expression.

 

@SELECTARRAY - Like @SELECT, but the first argument is a (1-dimensional) array name, and the window is filled with the array elements.

 

@USB[d:] - returns 1 if the specified drive letter is a USB drive.

 

 

Updated Variables Functions:

 

@SCRIPT - is working again in v21 (it was broken by some previous Microsoft updates).

 

 

New Internal Variables:

 

_MSGBOX_CHECKBOX - if 1, the user has checked the optional MSGBOX checkbox. (See MSGBOX below)

 

_TCCINSTANCES - number of instances of TCC (version 21 or later) currently running.

 

_TCMDINSTANCES - number of instances of TCMD (version 21 or later) currently running.

 

_USBS - returns a space-delimited list of all of the USB drives.

 

 

Updated Internal Variables:

 

_WINVER - Now returns the actual Windows version for Windows 8 / 10 instead of the Windows default API results (i.e., "10.0" instead of "6.3").

 

 

Updated Commands:

 

7UNZIP

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

7ZIP

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

The default compression level has been changed to 2.

 

The default compression type has been changed to LZMA2.

 

ASSOCIATE

 

ASSOCIATE now has a command dialog (/= option).

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

ATTRIB

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

BZIP2

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

CDD

 

CDD has some additional shell folders for Windows 10:

 

:AppCaptures

:CommonStartMenuPlaces

:LocalDocuments

:LocalDownloads

:LocalMusic

:LocalPictures

:LocalVideos

:OneDrive

:RetailDemo

:SavedPictures

:SavedSearches

 

CHCP

 

 /I - Show all installed code pages

 

 /P - Pause after each page (only valid with /I or /S)

 

 /S - Show all supported code pages

 

COPY

 

/WAIT=n - Pause for n milliseconds between each block copied from the source to the target file. This is useful for users with slow networks and very large file copies; it prevents COPY from monopolizing all of the I/O.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DEDUPE

 

DEDUPE now defaults to using a SHA256 hash for file comparisons.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DATE

 

The weekday and month are now translated into your local language (English, French, German, Italian, Russian, and Spanish).

 

DEL

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DESCRIBE

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DIFFER

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DIR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

DIRHISTORY

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

ENDLOCAL

 

If you have global aliases and/or functions, SETLOCAL will now copy them to a local list for the duration of the SETLOCAL.  The matching ENDLOCAL will reset them to the global list.

 

SETLOCAL will save the directory stack (PUSHD / POPD), and the matching ENDLOCAL will restore it.

 

EVENTLOG

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

EVERYTHING

 

EVERYTHING now supports ReFS 3.x

 

/B - Rebuilds the Everything Search database

 

/H - Delete the Everything Search run history

 

/I - Rescan all the folder indexes

 

/V - Display the Everything Search version (major.minor.build)

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

FFIND

 

/W - added Ranges button to invoke the Ranges dialog

 

/W - added Attributes button to invoke the Attributes dialog

 

GLOBAL

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

GZIP

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

HEAD

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

HISTORY

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

IFTP

 

/IPV6[=0|1|2] - When set to 0, IFTP will use IPv4 exclusively. When set to 1, IFTP will use IPv6 exclusively. To instruct IFTP to prefer IPv6 addresses, but use IPv4 if IPv6 is not supported on the system, this setting should be set to 2. If you don't specify /IPV6, IFTP will set this value to 0.  If you specify /IPV6 with no explicit value, IFTP will set the value to 1.

 

/V=hostname - Sends the HOST command to the server. The HOST command allows FTP processes to specify which virtual host to connect to for a server-FTP process that is handling requests for multiple virtual hosts on a single IP address. When this option is set, the HOST command is sent to the server prior to authenticating.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

INPUT

 

Now supports regular expressions for the mask (/K"xxx"). You must prefix the regular expression with :: - for example:

 

input /k"::^[0-9]$" Enter a number: %%number

 

JABBER

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

JAR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

KEYSTACK

 

/I - wait for an input idle or the specified number of milliseconds.  The syntax is:

 

/I=pid,milliseconds                Look for the specified process ID

/I"Title",milliseconds                Look for the specified window title

 

LIST

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

MD / MKDIR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

MEMORY - now displays three additional fields:

 

oThe current working set for TCC

oThe maximum working set for TCC

oThe private memory usage for TCC

 

MKLINK

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

MKLNK

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

MOVE

 

/WAIT=n - Pause for n milliseconds between each block moved from the source to the target file. This is useful for users with slow networks and very large file copies; it prevents MOVE from monopolizing all of the I/O.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

MSGBOX

 

/5"text" - Optional custom button #5. Clicking on this button returns 25 in %_?.

 

/6"text" - Optional custom button #6. Clicking on this button returns 26 in %_?.

 

/Bxxxxxx - Background color (in RGB hex format)

 

/Fxxxxxx - Text color (in RGB hex format)

 

There are two new button type modifiers (only valid when used with YESNO or YESNOCANCEL):

 

YESTOALL - adds a "Yes to All" button (returns 30)

NOTOALL - adds a "No to All" button (returns 31)

 

There are two new button types:

 

SKIPSKIPALLCANCEL - Displays three buttons : "Skip", "Skip All", and "Cancel"

IGNOREIGNOREALLCANCEL  - Displays three buttons : "Ignore", "Ignore All", and "Cancel"

 

And three new optional Checkbox types. (You can only choose one at a time.)

 

DONOTASKAGAIN - add checkbox "Do not ask me again".

DONOTTELLAGAIN - add checkbox "Do not tell me again"

DONOTSHOWAGAIN - add checkbox "Do not show again"

 

If the checkbox is selected, MSGBOX will set the internal variable %_msgbox_checkbox to 1.

 

OPTION

 

The OPTION dialog has a new page "Commands", where you can define which TCC internal commands you want to enable and disable.

 

The OPTION Register dialog page has a new option "USB (Portable) key" to generate a registration key on the USB (thumb) drive & directory of your choice. You an also now create a USB registration key even if you have already registered Take Command on the computer.

 

PATH

 

/D directory - Removes the specified directory from the PATH variable.

 

PLAYAVI

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

PLAYSOUND

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog..

 

PLUGIN

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

PRIORITY

 

/D - Disable the ability of the system to temporarily boost the priority of threads in the process.

 

/E - Re-enable the ability of the system to temporarily boost the priority of threads in the process.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

PSUBST

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

RD / RMDIR

 

If TCC is in a tab window, it will notify TCMD of the directory removal so that TCMD can update its File Explorer window.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

REN

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

SCRIPT

 

SCRIPT is working again in v21 (it was broken by some previous Microsoft updates). You can also now call TCC via a COM interface (in TakeCmd.tlb) from scripts. The "tcommand(cmd)" function will execute any internal TCC command.

 

SELECT

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

SENDHTML

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

SENDMAIL

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

SET

 

/M - Revert to the original environment that TCC started with.

 

SETARRAY

 

/F - now supports multiple array names.

 

SETLOCAL

 

SETLOCAL supports the EnableExtensions, DisableExtensions, EnableDelayedExpansion, and DisableDelayedExpansion arguments from CMD.  (Though they're not necessary, since TCC either sets those by default or through the OPTION command.)

 

If you have global aliases and/or functions, SETLOCAL will now copy them to a local list for the duration of the SETLOCAL.  The matching ENDLOCAL will reset them to the global list.

 

SETLOCAL will save the directory stack (PUSHD / POPD), and the matching ENDLOCAL will restore it.

 

START

 

/Breakaway - The child process is not associated with the TCC job (see JOBS). This requires that TCC is running in a job with the breakaway option enabled.

 

/Color=BF - Set the default color for the new console window. B is the background color (hex 0-F) and F is the foreground color (hex 0-F).

 

/Desktop=winstation\desktop - Specify the window station and desktop where the app should be started. If you don't enter a backslash (\), the argument is assumed to be the desktop where you want the app to start.

 

/Feedback=on - Indicates that the cursor is in feedback mode for two seconds after the process is started, and the "Working in Background" cursor is displayed. If during those two seconds the process makes the first GUI call, the system gives five more seconds to the process. If during those five seconds the process shows a window, the system gives five more seconds to the process to finish drawing the window. The system turns the feedback cursor off after the first call to GetMessage, regardless of whether the process is drawing.

 

/Feedback=off - The feedback cursor is forced off while the process is starting (the normal select cursor is displayed).

 

/Job=jobname - Start the new process in the specified job (see JOBS below). Cannot be used with /RUNAS.

 

/NoPinning - Any windows created by the new process cannot be pinned on the taskbar.

 

/ParentAffinity - The process inherits its parent's affinity.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

SYNC

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TABCOMPLETE

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TAIL

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TAR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TASKDIALOG

 

Increased the maximum number of custom buttons to 10.

 

Increased the maximum number of radio buttons to 10.

 

/AC"text" - The text to be used to label the button for collapsing the expandable information.

 

/AE"text" - The text to be used to label the button for expanding the expandable information.

 

/E - Display the security shield icon.

 

/FE - Display the security shield icon in the footer.

 

/N - Custom buttons (/B and /R) are to be displayed as command links instead of push buttons.

 

TASKLIST

 

/I - Display the process integrity (low, medium, high, system) for the code integrity and the resource integrity.

 

/H - Display the threads for each process (thread ID and priority). If /X is also specified, the TID and priority will be displayed in hexadecimal format.

 

TASKLIST now displays a footer with the total number of processes, and optionally the total number of threads (if you specified /H).

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TEE

 

/R - Redirect to STDERR instead of STDOUT

 

TIME

 

The weekday and month are now translated into your local language (English, French, German, Italian, Russian, and Spanish).

 

TOUCH

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TREE

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

TYPE

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

UNBZIP2

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

UNGZIP

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

UNJAR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

UNTAR

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

UNZIP

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

VER

 

Now returns the actual Windows version for Windows 8 / 10 instead of the Windows default API results (i.e., "10.0" instead of "6.3").

 

VIEW

 

/T when reading from a pipe will now start displaying immediately instead of waiting for the pipe to finish & close.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

ZIP

 

/G - Generate unique keys for each file encrypted. This setting controls the algorithm that generates AES cryptographic keys from the Password specified. For added security, a random salt value is generated, and a unique key will be generated for every unique combination of Password and salt. If /G is specified, a unique salt value and key will be generated for each file encrypted. If /G is not specified, a single salt value and key will be generated for all encrypted files in the archive.

 

You can now pass default arguments to the command dialog. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

ZIPSFX

 

/A - Require Admin privileges to execute the created file.

 

/I - Install to the specified directory, run the specified file, and then remove the extracted files.

 

/N - Silent installation - hides the extraction progress bar and the success window when the archive executable is run.

 

/P"xxx" - Optional parameters to pass to the file to be executed. Only valid with /F.

 

 

New Commands:

 

ENUMPROCESSES

 

Display the child processes for the specified process. The syntax is:

 

ENUMPROCESSES pid

 

pid - The Process ID for the process whose child processes you want to enumerate.

 

ENUMSERVERS

 

Enumerate the servers on the network. The optional server name may contain wildcards, including regular expressions. The syntax is:

 

ENUMSERVERS [/P /Type=xxx] server ...

 

server - The machine name to match

 

/P - Pause after each page

 

/Type=xxx - Return only servers of this type. If you do not specify /Type, TCC will return all servers.  Other possible types are:

 

WORKSTATION - All workstations

SQLSERVER - Any server running Microsoft SQL Server

DOMAIN - Primary domain controller

DOMAINBACKUP - Backup domain controller

DOMAIN_ENUM - Primary domain

LOCAL - Servers maintained by the browser

AFP - Apple File Protocol servers

TIME - Servers running the Timesource service

PRINTQ - Server sharing print queue

TERMINAL - Terminal Servers

CLUSTER - Server clusters in the domain

VSCLUSTER - Cluster virtual servers in the domain

MASTER - Server running the master browser service

 

ENUMSHARES

 

Enumerate the share names for the specified server. The syntax is:

 

ENUMSHARES [/= /A /D /F /I /P /Q /R /U /V] \\server\sharename

 

server - The machine name

 

sharename - The sharename(s) to match. Sharenames may contain wildcards, including regular expressions.

 

server - The machine name

sharename - The sharename(s) to match. Sharenames may contain wildcards, including regular expressions.

/= - Display the ENUMSHARES command dialog

/A - Display the admin shares (i.e., ADMIN$, C$, print$, etc.)

/D - Display the disk shares (default unless /F, /I, or /Q is set)

/F - The local path for the shared resource. For disks, this member is the path being shared. For print queues, this is the name of the print queue being shared.

/I - Display the shared IPC (interprocess communication)

/P - Pause after each page

/Q - Display the shared print queues

/R - Display the optional comment about the sharename (in quotes)

/U - Display the current number of uses and the maximum allowed uses in the format "[n] [n]".

/V - Display the shared communication devices

 

HASH

 

Display the hash for the specified file(s). HASH supports ranges, attributes, and wildcard filenames. The syntax is:

 

HASH [/[range] /A:xxx /CKSUM /CRC32 /MD5 /SHA1 /SHA256 /SHA384 /SHA512] filename ...

 

CKSUM - Linux CRC32 format

/CRC32

/MD5

/SHA1

/SHA256

/SHA386

/SHA512

HASH will default to /SHA256.

 

INSTALLED

 

Display all of the apps installed on the system. The syntax is:

 

INSTALLED [/= /P /A["xxx"] /D["xxx"] /I["xxx"] /U["xxx"] /V["xxx"] /X[86][64] appname]

 

/= - Display the INSTALLED command dialog

 

/P - Pause after displaying each page

 

/A - Show the installed date (may be empty)

 

/D - Show the installation directory

 

/I - Show the icon file

 

/U - Show the publisher

 

/V - Show the version number

 

Appname can contain wildcards. If you don't specify appname, it will default to *. The optional arguments after /A, /D, /I, /U, and /V will filter the results (they all can contain wildcards).  For example, to show all of the installed x64 apps that have "1.0" somewhere in their version number:

 

installed /v"*1.0*" /x64

 

JOBMONITOR

 

Monitor job activity (see JOBS). The syntax is:

 

JOBMONITOR [/C [jobname]]

JOBMONITOR jobname [* TIME PROCESS MEMORY] n command

 

/C - Delete the job monitor(s)

 

jobname - The Windows job to monitor

 

* - Monitor all activity for the job

 

TIME - Monitor the end of job and process time notifications

 

PROCESS - Monitor the process notifications (process limit, new process, zero processes, end of process, abnormal process exit)

 

MEMORY - Monitor the job and process memory limit notifications

 

JOBMONITOR will set four environment variables when a condition is triggered:

 

_jobaction - The type of notification, which will be one of these values:

 

EndOfJobTime

EndOfProcessTime

ActiveProcessLimit

ActiveProcessZero

NewProcess

ExitProcess

AbnormalExitProcess

ProcessMemoryLimit

JobMemoryLimit

 

_jobpid - The process PID

 

_jobprocessname - The name of the process

 

_jobtime - The time (hh:mm:ss.ms) the notification was received

 

JOBS

 

Create Windows Jobs and optionally attach processes to a job. You can start a new job already attached with the "START /job=jobname option". The syntax for JOBS is:

 

JOBS [/J=jobname /N=jobname /B /C /D /G /K /R /S /U /W /X /Y /JM=mem /PM=mem /P=n /JTL=ms /PTL=ms] [pid | processname]

 

pid - Process ID of a process to assign to the job

 

processname - Process name of a process to assign to the job

 

/= - Display the JOBS command dialog

 

/J=name - Set limits for an existing job

 

/N=name - Create a new job

 

/JM=n - Causes all processes associated with the job to limit the job-wide sum of their committed memory to n bytes. When a process attempts to commit memory that would exceed the job-wide limit, it fails.

 

/PM=n - Limit the maximum committed memory for for all processes in the job to n bytes. When a process attempts to commit memory that would exceed the per-process limit, it fails.

 

/P=n - Limit the total number of processes in the job to n

 

/JT=ms - Limit the maximum amount of per-job user-mode execution time to ms milliseconds

 

/PT=ms - Limit the maximum amount of user-mode execution for all processes associated with the job to ms milliseconds

 

/B - If any process associated with the job creates a child process using the CREATE_BREAKAWAY_FROM_JOB flag while this limit is in effect, the child process is not associated with the job.

 

/C - Close the job handle for the specified jobname.

 

/D - Prevent processes associated with the job from creating and/or switching to other desktops

 

/G - Prevent processes associated with the job from accessing global atoms

 

/I - Display limit info for the job

 

/K - All processes associated with the job will terminate when the last handle to the job is closed.

 

/L - Prevent processes associated with the job from calling the ChangeDisplaySettings API

 

/R - Prevent processes associated with the job from reading from the Windows clipboard

 

/S - Prevent processes associated with the job from changing system parameters using the SystemParametersInfo API

 

/U - Prevent processes associated with the job from using USER handles owned by processes not associated with the same job

 

/W - Prevent processes associated with the job from writing to the Windows clipboard

 

/X - Prevent processes associated with the job from logging out of Windows, rebooting, or shutting down

 

/Y - Allow any process associated with the job to create child processes that are not associated with the job

 

JOINDOMAIN

 

Join a computer to a domain or workgroup.  The syntax is:

 

JOINDOMAIN [/W] computer\domain[\organization] user [password]

 

/W - Join a workgroup instead of a domain

 

computer - The DNS or NETBIOS name of the computer

 

domain - The name of the domain or workgroup to join

 

organization - (Optional) The RFC 1779 format name of the organizational unit (OU) for the account. If you specify this parameter, it must contain a full path. (For example, OU=testOU,DC=domain,DC=Domain,DC=com.)

 

user - The account name to use when connecting to the domain controller. The name must be either a domain NetBIOS name and user account (for example, jpsoft\rconn) or the user principal name (UPN) of the user in the form of a login name (for example, "[email protected]")

 

password - The password to use when connecting to the domain controller. If the password is not entered (or is *), TCC will prompt for the password

 

PIPEVIEW

 

View realtime activity in a pipe. PIPEVIEW will read from STDIN, and display it in a VIEW window while also forwarding it on to STDOUT to be read by the next app.  For example:

 

dir /s | pipeview | sort

 

The syntax is:

 

PIPEVIEW [/D /E /GB /R /T /VH /X]

 

/D - Prefix each line with the current date

 

/E - Always show the end of the pipe (most recent activity). Otherwise PIPEVIEW will default to showing the beginning of the pipe buffer.

 

/GB - (GreenBar) Display alternate shaded lines to make reading the output easier with long lines

 

/R - Write to STDERR instead of STDOUT

 

/T - Prefix each line with the current time

 

/VH - The pipe contents are displayed with each line of text followed by two lines containing the hex codes of each character.

 

/X - Display the pipe contents in hex

 

PSHELL

 

Execute a PowerShell script or string. The syntax is:

 

PSHELL [/C /S script ...]

 

/C - Close the persistent PowerShell interpreter

 

/S - Execute a string (like @PSHELL)

 

Note that you may need to enable PowerShell scripting on your system; on recent versions of Windows it is disabled by default (for security).

 

REGDIR

 

Display the specified Windows Registry tree. The syntax is:

 

REGDIR [/D /F /P /V] keyname

 

/D - Display the data for all values (only valid when used with /V)

 

/F - Display the full name for each key. (The default is to display only the indented name of the current key, similar to TREE's output.)

 

/P - Pause after displaying each page

 

/V - Display the values for each key

 

SAVECONSOLE

 

Save the console screen buffer to a file in either plain text or HTML format (including colors). The syntax is:

 

SAVECONSOLE [/H /T /W] filename ...

 

/H - Save the console as HTML

 

/T - Include a header with the console title + date + time

 

/W - Don't strip trailing white space on each line (this will result in a much bigger file)

 

UPTIME

 

Display the time since the system was booted, and the time the system has been active (i.e., not sleeping or hibernating).

 

UUID

 

Create UUIDs in the specified format.  The syntax is:

 

UUID [/B] [/Cn] [/Fn]

 

/B - Enclose the UID in curly braces

 

/Cn - Create n UUIDs

 

/Fn - Format for the UUID, where n is:

0 - returns the UUID with lower case alphabetic characters and embedded hyphens

1 - returns the UUID with upper case alphabetic characters and embedded hyphens

2 - returns the UUID with lower case alphabetic characters and no hyphens

3 - returns the UUID with upper chase alphabetic characters and no hyphens

 

WINSTATION

 

Show the window stations and desktops on your system. The syntax is:

 

WINSTATION [/C /R /S] winsta\desktop [command]

 

/C - Create a new winstation and desktop

 

/R - Run the specified command on the winstation\desktop. If you do not specify a command, WINSTATION will run Windows Explorer

 

/S - Switch to the specified desktop. (You cannot switch to any winstation other than "WinSta0"; this is a Windows restriction.)

 

WSETTINGS

 

Display the specified Windows 10 Settings dialog.  The syntax is:

 

WSETTINGS dialogname

 

where dialogname is (some of these will not be available, depending on your Windows version):

 

About

AccessWorkOrSchool

Accounts

AccountInfo

Activation

AirplaneMode

AppsAndFeatures

AppsForWebsites

AutoPlay

Background

BackgroundApps

Backup

BatterySaver

BatterySaverSettings

BatteryUsageByApp

Bluetooth

Calendar

CallHistory

Camera

CellularNetwork

ClosedCaptions

ConnectedDevices

Colors

Contacts

DataUsage

DateAndTime

DefaultApps

DeviceEncryption

Dial-up

DirectAccess

Display

DownloadMaps

Email

EmailAndAppAccounts

Ethernet

Family & other users

FeedbackAndDiagnostics

ForDevelopers

HighContrast

Holographic

Keyboard

Location

Lock screen

Magnifier

ManageOptionalFeatures

ManageKnownNetworks

Messaging

Microphone

MobileHotspot

Motion

Mouse

MouseAndTouchpad

Multitasking

Narrator

NetworkStatus

NFCAndProximity

NotificationsAndActions

OfflineMaps

OptionalFeatures

OtherDevices

OtherOptions

Pen

Personalization

PowerAndSleep

PrintersAndScanners

Privacy

ProjectingToThisPC

ProximitySensor

Proxy

Radios

Recovery

RegionAndLanguage

Screen rotation

Settings

SigninOptions

Speech

SpeechInkingAndTyping

Start

Storage

SyncSettings

TabletMode

Taskbar

Themes

Typing

USB

VPN

Wheel

WiFi

WindowsDefender

WindowsInsiderProgram

WindowsUpdate

WindowsUpdateAdvancedOptions

WindowsUpdateCheckForUpdates

WindowsUpdateHistory

WindowsUpdateRestartOptions

YourInfo

 

WSHELL

 

Open a Windows Explorer window in the specified location.  The syntax is:

 

WSHELL [/T] folder

 

/T - Use the Explorer in Take Command

 

folder can be any of the following (some of these will not be available, depending on your Windows version):

 

AccountPictures

AddNewProgramsFolder

AdministrativeTools

AppData

ApplicationShortcuts

AppsFolder

AppUpdatesFolder

Cache

CameraRoll

CDBurning

ChangeRemoveProgramsFolder

CommonAdminTools

CommonAppData

CommonDesktop

CommonDocuments

CommonDownloads

CommonMusic

CommonPictures

CommonPrograms

CommonRingtones

CommonStartMenu

CommonStartup

CommonTemplates

CommonVideo

ConflictFolder

ConnectionsFolder

Contacts

ControlPanelFolder

Cookies

Cookies\Low

CredentialManager

CryptoKeys

Desktop

DeviceMetadataStore

DocumentsLibrary

Downloads

dpapiKeys

Favorites

Fonts

Games

GameTasks

History

HomeGroupCurrentUserFolder

HomeGroupFolder

ImplicitAppShortcuts

InternetFolder

Libraries

Links

LocalAppData

LocalAppDataLow

MusicLibrary

MyComputerFolder

MyMusic

MyPictures

MyVideo

Nethood

NetworkPlacesFolder

OneDrive

OneDriveCameraRoll

OneDriveDocuments

OneDriveMusic

OneDrivePictures

Personal

PicturesLibrary

PrintersFolder

PrintHood

Profile

ProgramFiles

ProgramFilesCommon

ProgramFilesCommonX64

ProgramFilesCommonX86

ProgramFilesX64

ProgramFilesX86

Programs

Public

PublicAccountPictures

PublicGameTasks

PublicLibraries

QuickLaunch

Recent

RecordedTVLibrary

RecycleBinrFolder

ResourceDir

RingTones

RoamedTileImages

RoamingTiles

SavedGames

Screenshots

Searches

SearchHistoryFolder

SearchHomeFolder

SearchTemplatesFolder

SendTo

StartMenuStart Menu

Startup

SyncCenterFolder

SyncResultsFolder

SyncSetupFolder

System

SystemCertificates

SystemX86

Templates

ThisPCDesktopFolder

UsersFilesFolder

UserPinned

UserProfiles

UserProgramFiles

UserProgramFilesCommon

UsersLibrariesFolder

VideosLibrary

Windows

 

WSHORTCUT

 

Invoke the specified Windows Explorer shortcut.  The syntax is:

 

WSHORTCUT [/T] shortcut

 

/T - Use the Explorer in Take Command

 

shortcut (some of these may not be available, depending on your version of Windows):

 

AddNetworkLocation

AdministrativeTools

Applications

AutoPlay

BackupAndRestore

BitLocker

BluetoothDevices

ColorManagement

CommandFolder

CommonPlacesFolder

ControlPanel

ControlPanelAllTasks

ControlPanelCategoryView

ControlPanelIconsView

CredentialManager

DateAndTime

DefaultPrograms

DesktopFolder

DeviceManager

DevicesAndPrinters

Display

DocumentsFolder

DownloadsFolder

EaseOfAccessCenter

Email

FamilySafety

Favorites

FileExplorerOptions

FileHistory

FontSettings

FontsFolder

FrequentFolders

GamesExplorer

GetPrograms

HelpAndSupport

HomeGroupSettings

HomeGroupUsers

Hyper-VRemoteFileBrowsing

IndexingOptions

Infared

InstalledUpdates

InternetExplorerOptions

KeyboardProperties

LanguageSettings

Libraries

LocationInformation

LocationSettings

MediaServers

MouseProperties

MusicFolder

MyDocuments

Network

NetworkAndSharingCenter

NetworkConnectionsPCsettings

NetworkConnections

NetworkConnections

NetworkWorkGroup

NotificationAreaIcons

NVIDIAControlPanel

OfflineFiles

OneDrive

PenAndTouch

Personalization

PictureFfolder

PortableDevices

PowerOptions

PreviousVersionsResultsFolder

PrinthoodDelegateFolder

Printers

ProgramsAndFeatures

PublicFolder

QuickAccess

RecentPlaces

Recovery

RecycleBin

RegionAndLanguage

RemoteAppAndDesktopConnections

RemotePrinters

RemovableStorageDevices

ResultsFolder

Run

Search

SearchEverywhere

SearchFiles

SecurityAndMaintenance

SetProgramAccess

ShowDesktop

Sound

SpeechRecognition

StorageSpaces

SyncCenter

SyncSetupFolder

System

SystemIcons

TabletPC

TaskbarAndNavigation

TextToSpeech

ThisPC

Troubleshooting

UserAccounts

UserAccounts(netplwiz)

UserPinned

UserProfile

VideosFolder

WebBrowser

WindowsDefender

WindowsMobilityCenter

WindowsFeatures

WindowsFirewall

WindowsToGo

WindowsUpdate

WorkFolders