diff --git a/build_rel.bat b/build_rel.bat index add125e..96594d2 100644 --- a/build_rel.bat +++ b/build_rel.bat @@ -1,8 +1,6 @@ @echo off set CURDIR=%~dp0 -set time0=%time: =0% -set hour=%time0:~0,2% -set appbuildtime=%date:~0,4%%date:~5,2%%date:~8,2%%hour%%time:~3,2%%time:~6,2% +for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMddHHmmss"') do set appbuildtime=%%i set appbuildrev=NULL set appbuildmodel=EG800AKCN_11LG set appbuildver=beta1