Skip to content

Instantly share code, notes, and snippets.

@maraigue
Created March 12, 2009 10:13
Show Gist options
  • Save maraigue/77995 to your computer and use it in GitHub Desktop.
Save maraigue/77995 to your computer and use it in GitHub Desktop.
Local Variable in MS-DOS batch file
@echo off
rem Info from http://ykr414.com/dos/dos05.html
echo %PATH%
setlocal
set PATH=HOGEPIYO
echo %PATH%
endlocal
echo %PATH%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment