@echo off echo .git.bak -- .git for /f %%d in ('dir /s /ad /b "packages\*-latest"') do ( if exist %%d\.git.bak ( REM echo "%%d\.git.bak --> %%d\.git" move %%d\.git.bak %%d\.git >nul attrib +h %%d\.git )else ( rmdir /s/q %%d ) ) pkgs --upgrade @REM menuconfig call scons --pyconfig pkgs --update echo .git -- .git.bak for /f %%d in ('dir /s /ad /b "packages"') do ( if exist %%d\.git ( attrib -h %%d\.git move %%d\.git %%d\.git.bak >nul ) ) call scons --target=vsc -s call scons -c @REM timeout 10