CMD.EXE Comparison

Print Topic  Return to Overview  Previous Topic  Next Topic 

The comparison of commands available is based on the version of CMD.EXE included with Windows Vista SP1.

 

If the CMD.EXE command name matches an internal TCC command, the TCC command is almost always substantially enhanced.

 

Onestep        TCC, TCC/LE, and CMD commands

Onestep        Command line editing

Onestep        Filename completion

Onestep        Command completion

Onestep        Redirection

Onestep        Wildcards

Onestep        Built-In Variables

Onestep        Unique TCC features

 

 

TCC, TCC/LE, and CMD commands

 

TCC

TCC/LE

CMD

?

Y

 

ACTIVATE

Y

 

ALIAS

Y

 

ASSOC

Y

Y

ATTRIB

Y

*

BATCOMP

 

 

BDEBUGGER

 

 

BEEP

Y

 

BREAK

Y

Y

BREAKPOINT

 

 

CALL

Y

Y

CANCEL

Y

 

CD / CHDIR

Y

Y

CDD

Y

 

CHCP

Y

*

CLS

Y

Y

COLOR

Y

Y

COPY

Y

Y

DATE

Y

Y

DEBUGSTRING

 

 

DEFER

 

 

DEL / ERASE

Y

Y

DELAY

Y

 

DESCRIBE

Y

 

DETACH

 

 

DIR

Y

Y

DIRHISTORY

Y

 

DIRS

Y

 

DO

Y

 

DRAWBOX

Y

 

DRAWHLINE

Y

 

DRAWVLINE

Y

 

ECHO

Y

Y

ECHOERR

Y

 

ECHOS

Y

 

ECHOSERR

Y

 

EJECTMEDIA

Y

 

ENDLOCAL

Y

Y

ESET

Y

 

EVENTLOG

 

 

EVENTMONITOR

 

 

EXCEPT

Y

 

EXIT

Y

Y

FFIND

Y

 

FIREWIREMONITOR

 

 

FOLDERMONITOR

 

 

FOR

Y

Y

FREE

Y

 

FTYPE

Y

Y

FUNCTION

 

 

GLOBAL

Y

 

GOSUB

Y

 

GOTO

Y

Y

HEAD

Y

 

HELP

Y

*

HISTORY

Y

 

IF

Y

Y

IFF

Y

 

IFTP

 

 

INKEY

Y

 

INPUT

Y

 

JABBER

 

 

KEYBD

Y

 

KEYS

Y

Y

KEYSTACK

Y

 

LIST

Y

 

LOADBTM

 

 

LOADMEDIA

Y

 

LOG

Y

 

MD / MKDIR

Y

Y

MEMORY

Y

 

MKLINK

Y

Y

MKLNK

Y

 

MOVE

Y

Y

MSGBOX

Y

 

NETMONITOR

 

 

ON

Y

 

OPTION

Y

 

OSD

 

 

PATH

Y

Y

PAUSE

Y

Y

PDIR

Y

 

PLAYAVI

 

 

PLAYSOUND

 

 

PLUGIN

Y

 

POPD

Y

Y

POSTMSG

 

 

PRINT

 

 

PRIORITY

 

 

PROCESSMONITOR

 

 

PROMPT

Y

Y

PUSHD

Y

Y

QUERYBOX

Y

 

QUIT

Y

 

RD / RMDIR

Y

Y

REBOOT

Y

 

RECYCLE

 

 

REM

Y

Y

REN / RENAME

Y

Y

RETURN

Y

 

REXEC

 

 

RSHELL

 

 

SCREEN

Y

 

SCRIPT

 

 

SCRPUT

Y

 

SELECT

Y

 

SENDMAIL

 

 

SERVICEMONITOR

 

 

SERVICES

 

 

SET

Y

Y

SETDOS

Y

 

SETLOCAL

Y

Y

SHIFT

Y

Y

SHORTCUT

 

 

SHRALIAS

Y

 

SMPP

 

 

SNMP

 

 

SNPP

 

 

START

Y

Y

SWITCH

Y

 

SYNC

 

 

TAIL

Y

 

TASKDIALOG

 

 

TASKEND

 

 

TASKLIST

 

 

TCFILTER

Y

 

TCTOOLBAR

Y

 

TEE

Y

 

TEXT

Y

 

TIME

Y

Y

TIMER

Y

 

TITLE

Y

Y

TOUCH

Y

 

TRANSIENT

 

 

TREE

Y

*

TRUENAME

Y

 

TYPE

Y

Y

UNALIAS

Y

 

UNFUNCTION

 

 

UNSET

Y

 

USBMONITOR

 

 

VER

Y

Y

VERIFY

Y

Y

VOL

Y

Y

VSCRPUT

Y

 

WHICH

Y

 

WINDOW

Y

 

WMIQUERY

 

 

Y

Y

 

 

* This is an internal command in TCC but an external command in CMD.

 

 

Command line editing

 

TCC offers vastly more sophisticated command line editing capabilities; see Command Line Editing for details.

 

Filename completion

 

CMD has a simple filename completion (with the tab key); TCC offers many more options, including server and sharename completion, customizable completion and (optional) popup window selection.  See Filename Completion and Filename Completion Window for more details.

 

Command history

 

CMD has simple (optional) command history recall.  TCC offers many more options, including loading and saving history lists, editing and moving commands in the list, searching for matching commands, and a popup command history window.

 

Redirection

 

In addition to the CMD <, > and |, TCC allows you to also redirect standard error, combine standard output and standard error, protect existing files from being overwritten by redirection, and redirect standard input using "here-documents".  See Redirection for more details.

 

Wildcards

 

CMD only supports the ? and * wildcards.  TCC adds character sets and regular expressions.  See Wildcards for more details.

 

Built-In Variables

 

CMD has several built-in variables (i.e., which are treated as environment variables but which do not exist in the environment):

 

CD - current directory

 

CMDCMDLINE - command line that started CMD

 

CMDEXTVERSION - the command extensions internal version number

 

DATE - the current date (in the default short format)

 

RANDOM - a random number between 0 and 32767

 

TIME - current time

 

TCC supports all of these built-in variables.  (In TCC, CMDEXTVERSION will always return 2.)  TCC also includes more than 140 additional internal variables, and 220 variable functions.

 

Unique TCC features

 

TCC includes many more features not in CMD, including:

 

       Batch debugger

 

       Aliases

 

       Internal functions

 

       User defined functions

 

       File selection

 

       File Ranges

 

       Conditional Commands

 

       Internet access and email

 

       OpenAFS support

 

       ANSI X3.64 support

 

       Directory navigation and Directory History

 

       Histories and Logs

 

       Intersession sharing

 

       Perl, REXX, and Ruby support

Topic "cmd_comp.htm" last edited 5/4/2008. ©2008  JP Software, Inc.
Keywords: CMD.EXE