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

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

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

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

QUERYBOX

Popup input box

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

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

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

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

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

JABBER

Send an IM

LOADBTM

Load batch files as .BTM

LOADMEDIA

Close CD-ROM / DVD drive door

ON

Batch file error trapping

PAUSE

Wait for input

QUIT

Exit batch file

REM

Remark

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

TRANSIENT

Toggle shell transient mode

UNALIAS

Remove aliases

UNFUNCTION

Remove user-defined functions

VBEEP

Flash the screen and beep

WEBFORM

Post data to web servers

WEBUPLOAD

Upload files to web servers

 

Environment and path commands        

 


Description

ESET

Edit variables or aliases

PATH

Set or display PATH

SET

Set or display environment variables

UNSET

Remove environment variables

 

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

DATE

Display or change date

DIRHISTORY

Display directory history list

EVENTLOG

Write to Windows event log

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

MOUNTISO

Mount ISO 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

VERIFY

Display or set disk verification

VER

Display version

VOL

Display or set disk volume label

WAKEONLAN

Send "Wake-On-LAN" packet

 

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

DETACH

Start app detached

EXCEPT

Exclude files from a command

EXIT

Exit TCC

HELP

TCC help

LUA

Call the internal Lua interpreter

SHRALIAS

Share aliases & functions

START

Start a new session

REXEC

Remotely execute command

RSHELL

Remotely execute command

TCDIALOG

Display command dialogs

TEE

Pipe "tee-fitting"

TIMER

Stopwatch

WHICH

Display command information