修复setlocal
Merge branch 'fix-bat-setlocal' into fix-hook-2