Microsoft Windows XP Professional Administrators Guide
Ends localization of environment changes in a script and restores environment variables to their previous values.
Syntax
Endlocal
Ends localization of environment changes in a script and restores environment variables to their previous values.
Endlocal