@echo off & cd /d "%~dp0" set "num=120" set /a "m=%num%/60,s=%num%%%60" set "m=0%m%" set "s=0%s%" set "t=%m:~-2%:%s:~-2%" echo %t% pause&exit复制代码