Built-In Commands


Built-in commands are handled directly by the command-line interpreter, which is cmd.exe on Windows 2000 and Windows XP, and command.com under DOS, Windows 98 and Windows Me. There is no corresponding executable file.

Command

OS

Description

assoc

2HPM

Associates filename extensions with file type

call

8E2HPM

Calls a batch file subroutine

cd

8E2HPM

Changes current working directory; same as chdir

chdir

8E2HPM

Changes current working directory; same as cd

color

2HPM

Changes command prompt window color

del

8E2HPM

Deletes files; same as delete and erase

delete

8E2HPM

Deletes files; same as del and erase

dir

8E2HPM

Displays file directory

echo

8E2HPM

Displays text

endlocal

2HPM

Restores environment variables

erase

8E2HPM

Deletes files; same as del and delete

exit

8E2HPM

Ends program or subroutine, or terminates command-line interpreter.

for

8E2HPM

Repeats command

ftype

2HPM

Associates file types to applications

goto

8E2HPM

Performs "go to label" in a batch file

if

8E2HPM

Executes command conditionally

lh

8E2HPM

Loads an MS-DOS TSR program into high memory; same as loadhigh

loadhigh

8E2HPM

Loads an MS-DOS TSR program into high memory; same as lh

md

8E2HPM

Create directory; same as mkdir

mkdir

8E2HPM

Create directory; same as md

move

8E2HPM

Moves files or folders

path

8E2HPM

Sets command search path

pause

8E2HPM

Stops batch file for user interaction

popd

2HPM

Restores current directory

prompt

8E2HPM

Sets command-line prompt

pushd

2HPM

Saves current directory

rd

8E2HPM

Removes directory; same as rmdir

rem

8E2HPM

Denotes remark or comment text

rename

8E2HPM

Renames files or folders

rmdir

8E2HPM

Removes directory, same as rd

set

8E2HPM

Sets environment variables

setlocal

2HPM

Saves current environment

shift

8E2HPM

Deletes and moves command-line arguments

start

8E2HPM

Runs a command or opens a document in a new window

time

8E2HPM

Displays and sets time of day

title

2HPM

Sets window title

type

8E2HPM

Copies text file to console window

verify

8E2HPM

Controls automatic verify-after-write





Upgrading and Repairing Microsoft Windows
Upgrading and Repairing Microsoft Windows (2nd Edition)
ISBN: 0789736950
EAN: 2147483647
Year: 2005
Pages: 128

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net