Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Sc
Set
Sfc
Ver
Vol
Развернуть Свернуть
1 из 1 оценили этот материал как полезный - Оценить эту тему

Exit

Обновлено: Сентябрь 2007 г.

Назначение: Windows Server 2008, Windows Vista

Exits the Cmd.exe program (the command interpreter) or the current batch script.

For examples of how to use this command, see Examples.

Syntax

exit [/b] [<ExitCode>]

Parameters

 

Parameter Description

/b

Exits the current batch script instead of exiting Cmd.exe. If executed from outside a batch script, exits Cmd.exe.

<ExitCode>

Specifies a numeric number. If /b is specified, the ERRORLEVEL environment variable is set to that number. If you are quitting Cmd.exe, the process exit code is set to that number.

/?

Displays help at the command prompt.

Examples

To close the command interpreter, Cmd.exe, type:

Additional references

Была ли вам полезна эта информация?
(1500 символов осталось)

Добавления сообщества

ДОБАВИТЬ
© 2013 Microsoft. Все права защищены.