中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-08-07 09:26
48,040 主题排行 / 350,125 发帖 / 今日 0 篇 / 48,252 会员排行
DOS批处理 & 脚本技术(批处理室) » 如何用脚本区别非中文操作系统的系统
可打印版本  675 / 2
第1楼 hackhd 发表于 2008-02-01 21:27
中级用户 发帖 102 积分 231
如何用脚本区别非中文操作系统的系统
比如说。中文系统里有某个文件。就是中文的,如果没有就是别的系统。
或者说反过来判断,判断是中文系统也行。
第2楼 slore 发表于 2008-02-01 21:55
铂金会员 发帖 2,478 积分 5,212
Select Case GetLocale()
Case 2052:MsgBox "Simplified Chinese"
Case 1028: MsgBox "Traditional Chinese"
Case 1031: MsgBox "German"
Case 2057: MsgBox "British English"
Case 1033: MsgBox "English"
Case 3082: MsgBox "Spanish"
Case 1036: MsgBox "French"
Case 1040: MsgBox "Italian"
Case 1041: MsgBox "Japanese"
Case 1042: MsgBox "Korean"
Case 0: MsgBox "Neutral"
Case 1043: MsgBox "Dutch"
Case 1053: MsgBox "Swedish"
Case 1054: MsgBox "Thai"
Case 3076: MsgBox "Chinese (Hong Kong SAR, PRC)"
Case 5124: MsgBox "Chinese (Macau SAR)"
Case 4100: MsgBox "Chinese (Singapore)"
Case Else MsgBox "Unknown,more details on www.microsoft.com"
End Select
第3楼 hackhd 发表于 2008-02-01 22:45
中级用户 发帖 102 积分 231
帅。SLORE就是帅。。给得这么全。
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023