The specific method is as follows:
1. After optimizing the above script, the improved method is as follows:
Chinese version method: Create a new text document with the content
setx UGII_LANG simpl_chinese
start “title” “%UGII_ROOT_DIR%”ugraf.exe%*
Save as bat file.
English version method: Create a new text document with the content
setxUGII_LANG english
start “title” “%UGII_ROOT_DIR%”ugraf.exe%*
Save as bat file.
2. Send the above bat file to the desktop shortcut, and right-click to modify the shortcut to the ico icon of the ug software. Next time, you can use these two shortcuts to start the Chinese or English version of ug respectively. If you The computer is configured so that the Chinese and English versions of ug can be opened at the same time.
The above is the method to quickly switch between Chinese and English in UG under Win10 system. The method is very simple. Users who need this can refer to the tutorial to set it up.