Internal Commands Listed by Category

See also: Internal Commands Listed by Name

 

The best way to learn about commands is to experiment with them. The lists below categorize the available commands by topic and will help you find the one(s) you need.

 

OnestepFile and directory management
OnestepSubdirectory management
OnestepInput and output
OnestepWindow management commands
OnestepCommands primarily for use in or with batch files and aliases
OnestepEnvironment and path commands
OnestepSystem configuration and status
OnestepMonitoring commands
OnestepCompression / Decompression
OnestepOther commands

 

File and directory management

 


Description

ATTRIB

Change or display file attributes

COPY

Copy files and/or directories

COPYDIR

Copy directory tree

DEDUPE

Delete / Link duplicate files

DEL

Delete files and/or directories

DESCRIBE

Display or change descriptions

DIFFER

Show differences between directories

ERASE

Delete files and/or directories

EVERYTHING

Search for files and/or directories

FFIND

Search for files or text

FILELOCK

Show / release file locks

FSEARCH

Search files for text

HEAD

Display beginning of file

IFTP

Open FTP connection

LIST

Display contents of files

MOVE

Move files or directories

MOVEDIR

Move directory tree

PSUBST

Persistent SUBST

RECYCLE

Display or empty recycle bin

REN

Rename files or directories

RENAME

Rename files or directories

SREPLACE

Seach and replace in files

SELECT

Select files for a command

SYNC

Synchronize directories

TAIL

Display end of file

TOUCH

Change file dates/times

TPIPE

Text filtering and substitution

TREE

Display directory tree

TRUENAME

Display true pathname

TYPE

Display files

UNZIP

Unzip files from archive

VIEW

Display file contents

Y

Pipe "y-fitting"

ZIP

Zip files to archive

 

Subdirectory management

 


Description

CD

Display or change directory

CDD

Change drive and directory

CHDIR

Display or change directory

DIR

Display files and/or directories

DIRS

Display directory stack

MD

Create subdirectories

MKDIR

Create subdirectories

MKLNK

Create NTFS hard or soft link

PSUBST

Persistent SUBST

PDIR

User-formatted DIR

POPD

Restore from directory stack

PUSHD

Save directory to stack

RD

Remove subdirectory

RMDIR

Remove subdirectory

 

Input and output

 


Description

CAPTURE

Video and/or audio capture

CLIP

Display or modify TCC clipboards

DRAWBOX

Draw a box

DRAWHLINE

Draw a horizontal line

DRAWVLINE

Draw a vertical line

ECHO

Echo a message

ECHOERR

Echo a message to stderr

ECHOS

Echo a message with no CR/LF

ECHOSERR

Echo with no CR/LF to stderr

ECHOX

Echo with no expansion

ECHOXERR

Echo with no expansion to stderr

FONT

Change console font

INKEY

Get a keystroke

INPUT

Get an input line

KEYSTACK

Send keystrokes to app

MSGBOX

Popup message box

OSD

Display floating text

PLAYAVI

Play an .AVI file

PLAYSOUND

Play a sound file

PRINT

Print a file

PRINTF

Formatted output

QUERYBOX

Popup input box

SAVECONSOLE

Save console screen buffer to file

SCREEN

Position cursor

SCRPUT

Write directly to screen

SENDHTML

Send HTML email

SENDMAIL

Send email

SMPP

Send SMS message

SNMP

Send SNMP trap

SNPP

Send message to pager

STATUSBAR

Display text on status bar

TABCOMPLETE

Tab completion scripts

TASKDIALOG

Popup Windows task dialog

TCFONT

Set font in Take Command tab window

VSCRPUT

Write text vertically

 

Window management commands

 


Description

ACTIVATE

Activate or set window state

DESKTOP

Create or switch desktops

POSTMSG

Send a message to a Window

TITLE

Set window title

VDESKTOP

Manage Windows 10 / 11 virtual desktops

WINDOW

Window management

 

Commands primarily for use in or with batch files and aliases

(some work only in batch files; see the individual commands for details)

 


Description

ALIAS

Define or display aliases

BATCOMP

Batch file compression

BDEBUGGER

Batch file debugger

BEEP

Beep the speaker

BREAKPOINT

Set a batch debugger breakpoint

CALL

Call another batch file

CALLER

Display the context of the current batch call

CANCEL

End batch file processing

COMMENT

Enter multiline comments

DEBUGSTRING

Send text to system debugger

DEFER

Defer a command until the batch file exits

DELAY

Wait for specified time

DO

Batch file looping

ENDLOCAL

Restore a SETLOCAL

EJECTMEDIA

Eject a removable drive

FALSE

Return a 0

FOR

Repeat a command

FUNCTION

Create or edit user functions

GLOBAL

Run command in subdirectories

GOSUB

Call batch subroutines

GOTO

Go to a batch file label

IF

Conditional command execution

IFF

Conditional command execution

INTERNAL

Run an internal command

JABBER

Send an IM

LOADBTM

Load batch files as .BTM

LOADMEDIA

Close CD-ROM / DVD drive door

LOCAL

Local variables for batch files and library functions

ODBC

Query SQL database

ON

Batch file error trapping

PAUSE

Wait for input

QUIT

Exit batch file

RECORDER

Keyboard / mouse macro recorder

REM

Remark

REPEAT

Execute counted loop

RETURN

Return from GOSUB

SETLOCAL

Save environment, aliases, and functions

SHIFT

Shift batch file parameters

SWITCH

Batch file switch / case

TEXT

Display text in batch file

TRUE

Return a 1

TRANSIENT

Toggle shell transient mode

UNALIAS

Remove aliases

UNFUNCTION

Remove user-defined functions

UNLIBRARY

Remove library functions

UNQLITE

NoSQL database

VBEEP

Flash the screen and beep

WEBFORM

Post data to web servers

WEBSOCKET

Connect to WebSocket and send string

WEBUPLOAD

Upload files to web servers

 

Environment and path commands        

 


Description

DIRENV

Configure environment per-directory

ESET

Edit variables or aliases

PATH

Set or display PATH

SET

Set or display environment variables

SETARRAY

Define array variable

SETP

Set or display environment variables in another process

UNSET

Remove environment variables

UNSETARRAY

Remove array variable

UNSETP

Remove environment variables in another process

 

System configuration and status

 


Description

ASSOC

Windows file associations

ASSOCIATE

Combine ASSOC and FTYPE

BREAK

Define or display Ctrl-C state

CHCP

Display or change code page

CLS

Clear the display window

COLOR

Change the display colors

COMMANDS

Enable or disable TCC internal commands

DATE

Display or change date

DIRHISTORY

Display directory history list

EVENTLOG

Write to Windows event log

EXEC

Replace TCC shell with another app

FREE

Display disk space

FTYPE

Display or edit file types

HISTORY

Display or change history

JUMPLIST

Create taskbar jumplist

KEYBD

Set keyboard toggles

KEYS

Enable or disable history list

LOG

Save log of commands

MEMORY

Display memory statistics

MONITOR

Get / set display settings

MOUNTISO

Mount ISO disks

MOUNTVHD

Mount VHD and VHDX disks

OPTION

Configure the TCC console

PLUGIN

Load or unload plugin DLL

PROMPT

Change command line prompt

PSUBST

Persistent SUBST

REBOOT

Reboot system

RESOLUTION

Change display resolution

RESTOREPOINT

Create / delete / display system restore points

SETDOS

Internal options

SERVICES

Display, stop, or start services

SHORTCUT

Create a Windows shortcut

TASKBAR

Call Windows Taskbar functions

TASKEND

End a task

TASKLIST

Display Windows task list

TCFILTER

Filter Take Command File Explorer window

TCTOOLBAR

Edit Take Command toolbar

TIME

Set or display time

UNMOUNTISO

Unmount ISO disk

UNMOUNTVHD

Unmount VHD and VHDX disks

VERIFY

Display or set disk verification

VER

Display version

VOL

Display or set disk volume label

WAKEONLAN

Send "Wake-On-LAN" packet

WMIQUERY

Query the Windows Management Interface

WMIRUN

Run WMI methods

XHISTORY

Extended command history

 

Monitoring commands        

 


Description

BTMONITOR

Monitor Bluetooth connections

CLIPMONITOR

Monitor Windows clipboard

DATEMONITOR

Monitor current date and time

DEBUGMONITOR

Monitor OutputDebugString API

DISKMONITOR

Monitor disk usage

EVENTMONITOR

Monitor event log

FIREWIREMONITOR

Monitor FireWire devices

FOLDERMONITOR

Monitor folders and/or files

LOCKMONITOR

Monitor session locking / unlocking

NETMONITOR

Monitor network connections

PROCESSMONITOR

Monitor processes

POWERMONITOR

Monitor system power

REGMONITOR

Monitor Windows registry keys

SCREENMONITOR

Monitor Windows screen saver

SERVICEMONITOR

Monitor Windows services

USBMONITOR

Monitor USB devices

 

Compression / Decompression commands        

 


Description

BZIP2

Compress files to bz2 archive

GZIP

Compress files to .gz archive

JAR

Add files to Java jar archive

TAR

Add files to tar archive

UNBZIP2

Extract files from bz2 archive

UNGZIP

Extract files from .gz archive

UNJAR

Extract files from Java jar archive

UNTAR

Extract files from tar archive

UNZIP

Unzip files from archive

ZIP

Zip files to archive

ZIPSFX

Create self-extracting executable

7UNZIP

Extract files from 7Zip archive

7ZIP

Compress files to 7Zip archive

 

Other commands

 


Description

?

Display list of internal commands, or prompt to execute a command

CHRONIC

Run command and hide STDOUT & STDERR

DETACH

Start app detached

EXCEPT

Exclude files from a command

EXIT

Exit TCC

EXPR

Evaluate expressions

HELP

TCC help

LIBRARY

Load, display, or delete library functions

LUA

Call the internal Lua interpreter

PEE

Redirect STDOUT to multiple pipes

PSHELL

Execute Powershell script or command

RANDOM

Generate random numbers or chars

REXEC

Remotely execute command

RSHELL

Remotely execute command

SHRALIAS

Share aliases & functions

SPONGE

Read STDIN and write to file

SSHEXEC

Connect to remote host and run shell

START

Start a new session

TCDIALOG

Display command dialogs

TEE

Pipe "tee-fitting"

TIMER

Stopwatch

TS

Timestamp pipe output

WAITFOR

Wait for app exit or input idle

WATCH

Execute program periodically and display output

WHICH

Display command information