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.
Description |
|
Change or display file attributes |
|
Copy files and/or directories |
|
Copy directory tree |
|
Delete / Link duplicate files |
|
Delete files and/or directories |
|
Display or change descriptions |
|
Show differences between directories |
|
Delete files and/or directories |
|
Search for files or text |
|
Show / release file locks |
|
Display beginning of file |
|
Open FTP connection |
|
Display contents of files |
|
Move files or directories |
|
Move directory tree |
|
Persistent SUBST |
|
Display or empty recycle bin |
|
Rename files or directories |
|
Rename files or directories |
|
Select files for a command |
|
Synchronize directories |
|
Display end of file |
|
Change file dates/times |
|
Text filtering and substitution |
|
Display directory tree |
|
Display true pathname |
|
Display files |
|
Unzip files from archive |
|
Sort text files |
|
Pipe "y-fitting" |
|
Zip files to archive |
Description |
|
Display or change directory |
|
Change drive and directory |
|
Display or change directory |
|
Display files and/or directories |
|
Display directory stack |
|
Create subdirectories |
|
Create subdirectories |
|
Create NTFS hard or soft link |
|
Persistent SUBST |
|
User-formatted DIR |
|
Restore from directory stack |
|
Save directory to stack |
|
Remove subdirectory |
|
Remove subdirectory |
Description |
|
Video and/or audio capture |
|
Draw a box |
|
Draw a horizontal line |
|
Draw a vertical line |
|
Echo a message |
|
Echo a message to stderr |
|
Echo a message with no CR/LF |
|
Echo with no CR/LF to stderr |
|
Echo with no expansion |
|
Echo with no expansion to stderr |
|
Change console font |
|
Get a keystroke |
|
Get an input line |
|
Send keystrokes to app |
|
Popup message box |
|
Display floating text |
|
Play an .AVI file |
|
Play a sound file |
|
Print a file |
|
Formatted output |
|
Popup input box |
|
Position cursor |
|
Write directly to screen |
|
Send HTML email |
|
Send email |
|
Send SMS message |
|
Send SNMP trap |
|
Send message to pager |
|
Popup Windows task dialog |
|
Write text vertically |
|
Sort text files |
Description |
|
Activate or set window state |
|
Create or switch desktops |
|
Send a message to a Window |
|
Set window title |
|
Manage Windows 10 virtual desktops |
|
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 |
|
Define or display aliases |
|
Beep the speaker |
|
Set a batch debugger breakpoint |
|
Call another batch file |
|
End batch file processing |
|
Enter multiline comments |
|
Send text to system debugger |
|
Defer a command until the batch file exits |
|
Wait for specified time |
|
Batch file looping |
|
Restore a SETLOCAL |
|
Eject a removable drive |
|
Repeat a command |
|
Create or edit user functions |
|
Run command in subdirectories |
|
Call batch subroutines |
|
Go to a batch file label |
|
Conditional command execution |
|
Conditional command execution |
|
Send an IM |
|
Load batch files as .BTM |
|
Close CD-ROM / DVD drive door |
|
Local variables for batch files and library functions |
|
Batch file error trapping |
|
Wait for input |
|
Exit batch file |
|
Remark |
|
Execute counted loop |
|
Return from GOSUB |
|
Save environment, aliases, and functions |
|
Shift batch file parameters |
|
Batch file switch / case |
|
Display text in batch file |
|
Toggle shell transient mode |
|
Remove aliases |
|
Remove user-defined functions |
|
Flash the screen and beep |
|
Post data to web servers |
|
Connect to WebSocket and send string |
|
Upload files to web servers |
Description |
|
Configure environment per-directory |
|
Edit variables or aliases |
|
Set or display PATH |
|
Set or display environment variables |
|
Set or display environment variables in another process |
|
Remove environment variables |
|
Remove environment variables in another process |
System configuration and status
Description |
|
Windows file associations |
|
Combine ASSOC and FTYPE |
|
Define or display Ctrl-C state |
|
Display or change code page |
|
Clear the display window |
|
Change the display colors |
|
Display or change date |
|
Write to Windows event log |
|
Display disk space |
|
Display or edit file types |
|
Set keyboard toggles |
|
Enable or disable history list |
|
Save log of commands |
|
Display memory statistics |
|
Mount ISO disks |
|
Configure the TCC console |
|
Load or unload plugin DLL |
|
Persistent SUBST |
|
Reboot system |
|
Change display resolution |
|
Create / delete / display system restore points |
|
Internal options |
|
Display, stop, or start services |
|
Create a Windows shortcut |
|
Call Windows Taskbar functions |
|
End a task |
|
Display Windows task list |
|
Set or display time |
|
Unmount ISO disk |
|
Display or set disk verification |
|
Display version |
|
Display or set disk volume label |
|
Send "Wake-On-LAN" packet |
|
Query the Windows Management Interface |
|
Run WMI methods |
Description |
|
Monitor Bluetooth connections |
|
Monitor Windows clipboard |
|
Monitor current date and time |
|
Monitor OutputDebugString API |
|
Monitor disk usage |
|
Monitor event log |
|
Monitor FireWire devices |
|
Monitor folders and/or files |
|
Monitor session locking / unlocking |
|
Monitor network connections |
|
Monitor processes |
|
Monitor system power |
|
Monitor Windows registry keys |
|
Monitor Windows screen saver |
|
Monitor Windows services |
|
Monitor USB devices |
Compression / Decompression commands
Description |
|
Compress files to bz2 archive |
|
Compress files to .gz archive |
|
Add files to Java jar archive |
|
Add files to tar archive |
|
Extract files from bz2 archive |
|
Extract files from .gz archive |
|
Extract files from Java jar archive |
|
Extract files from tar archive |
|
Unzip files from archive |
|
Zip files to archive |
|
Create self-extracting executable |
|
Extract files from 7Zip archive |
|
Compress files to 7Zip archive |
Description |
|
Display list of internal commands, or prompt to execute a command |
|
Run command and hide STDOUT & STDERR |
|
Start app detached |
|
Exclude files from a command |
|
Exit TCC |
|
Evaluate expressions |
|
Load, display, or delete library functions |
|
Call the internal Lua interpreter |
|
Redirect STDOUT to multiple pipes |
|
Execute Powershell script or command |
|
Share aliases & functions |
|
Connect to remote host and run shell |
|
Start a new session |
|
Remotely execute command |
|
Remotely execute command |
|
Read STDIN and write to file |
|
Pipe "tee-fitting" |
|
Stopwatch |
|
Timestamp pipe output |
|
Wait for app exit or input idle |
|
Display command information |