Exportar (0) Imprimir
Expandir Todos

Exit

Actualizado: Abril de 2012

Aplica-se a: Windows 7, Windows Server 2008, Windows Server 2008 R2, 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.

exit [/b] [<ExitCode>]

 

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.

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

exit

Considera isto útil?
(1500 caracteres restantes)
Obrigado pelos seus comentários

Conteúdo da Comunidade

Mostrar:
© 2015 Microsoft