@echo off chcp 65001 >nul cd /d "%~dp0" echo ============================================ echo TAP13 - chia se 24 file cho may Muse keo ve echo ============================================ echo. echo Thu muc nay phai chua du 24 file trong danh-sach-24-file-thieu.txt echo (tai tu Drive web, giu nguyen ten file). echo. set PY= for /f %%v in ('python -c "print(12345)" 2^>nul') do set OUT=%%v if "%OUT%"=="12345" set PY=python if not defined PY for /f %%v in ('py -c "print(12345)" 2^>nul') do set OUT=%%v if not defined PY if "%OUT%"=="12345" set PY=py if not defined PY ( echo Chua co Python. Dang cai Python 3.12 bang winget... winget install -e --id Python.Python.3.12 echo. echo Cai xong: dong cua so nay, mo lai file serve-tap13.bat pause exit /b ) echo Dang mo server o cong 8000. GIU cua so nay mo. echo Neu Windows hoi tuong lua thi bam Allow access. echo Xong thi nhan Muse: xong echo. %PY% -m http.server 8000 pause