Endlocal Command In Windows Server 2008

In this article I am going to explain about Endlocal command in Windows Server 2008 operating system and also explain it's related syntax.
  • 1565

Introduction

Endlocal command is command-line tool that is built in Windows Server 2008. Endlocal command ends the localization of environment changes inside a batch file, restoring environment variables to their values before the matching setlocal command. You must use the endlocal command in a script or a batch file, endlocal command has no effect outside a script or batch file. 

Endlocal command syntax

endlocal

Parameter

Parameter Description
/? Displays help at command prompt.

Example

Stops the localization of the environment changes enabled by the set local command.

endlocal

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.