@echo off
if "%UGII_LANG%" == "simpl_chinese" goto fun1
if "%UGII_LANG%" == "english" goto fun2
:fun1
setx/M UGII_LANG "english"
pause
%UGII_ROOT_DIR%\ugraf.exe
exit
:fun2
setx/M UGII_LANG "simpl_chinese"
pause
%UGII_ROOT_DIR%\ugraf.exe
exit
@echo off
if "%UGII_LANG%" == "simpl_chinese" goto fun1
if "%UGII_LANG%" == "english" goto fun2
:fun1
setx/M UGII_LANG "english"
pause
%UGII_ROOT_DIR%\ugraf.exe
exit
:fun2
setx/M UGII_LANG "simpl_chinese"
pause
%UGII_ROOT_DIR%\ugraf.exe
exit