Command Line

 


Use keywords to find the content you
are looking for with in the site.

Command SETLOCAL

Function:

Set the localisation of environment variables.
Syntax:
SETLOCAL
Note:
  • Changes to the current environment variables are un-done with the ENDLOCAL command.
  • Command SETLOCAL is cumulative, that is. when command SETLOCAL is used 5 times then 5 ENDLOCAL commands are required to return to the original environment variables.
  • The original environment variables are not automatically restored when a batch program ends, the ENDLOCAL command is required.
  • Also see command ENDLOCAL and Batch Programs.

Copyright © 1995-2018 Lucien Cinc, All Rights Reserved
WinOne® is an Australian registered trademark

Go to the Australian Command Line Software web site.