中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-05 07:56
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » I want to write a P to query the QQ version number
Printable Version  2,111 / 16
Floor1 zouzhxi Posted 2007-06-29 14:49
中级用户 Posts 177 Credits 430 From 广东深圳
I want to write a program to query the QQ version number

Path:
QQVERPATH=D:\zouzhxi\geqi\qqVersion.ini

The format of version.ini is as follows:


0691=【QQ2007 Beta3】
0675=【QQ2007 Beta2 Official Edition】
0673=【QQ2007 Beta2 Internal Test Edition】
04C7=【QQ2006 Mobile Edition】
05F9=【QQ2006 New Year Edition sp5】
07D7=【QQ2007 Internal Edition】
0661=【QQ2007 Beta1 Vista】
065F=【QQ2007 Beta1】
063B=【QQ2006】
0639=【QQ2006 Leaked Edition】
0637=【QQ2006 】
062B=【QQ2006 Beta3 SP1】
0627=【QQ2006 Beta3】
0625=【QQ2006 Beta3】
0623=【QQ2006 Beta3】
0621=【QQ2006 Beta2 SP5】
061F=【QQ2006 Beta2 SP3/SP4】
061D=【QQ2006 Beta2 SP2】
061B=【QQ2006 Beta2 SP1】
0611=【QQ2006 Beta2 Traditional Chinese Edition】
060F=【QQ2006 Beta2】
060A=【TM2007 Beta1】
0607=【QQ2006 Beta1 SP4】
05FF=【QQ2006 Beta1 SP2】
05FD=【QQ2006 Beta1 sp1】
05FB=【QQ2006 Beta1】
05F7=【QQ2006 New Year Edition sp4】
05F5=【QQ2006 New Year Edition sp3】
05F1=【QQ2006 New Year Edition】
05E8=【TM2006 New Spring Edition】
05E6=【TM2006 New Spring Edition】
05BE=【TM2006 Preview】
05A5=【QQ2005 SP1】
05A1=【QQ2005 English Edition】
0569=【QQ2005 Beta2 Traditional Chinese Edition】
0597=【QQ2005 Traditional Chinese Edition】
0596=【QQ2005 Beta3 Haifeng Edition】
0595=【QQ2005 Chuanmei Official Edition/Haifeng Edition】
0594=【QQ2005 Elf Workshop IP Display Edition】
0593=【QQ2005 Official Edition】
0592=【QQ2005 Personal DIY Edition】
057D=【QQ2005 Beta3 Elf Workshop IP Display Edition】
057C=【QQ2005 Beta3 Elf Workshop IP Display Edition Simplified Version】
0589=【2005 Beta3 Apple Edition】
0587=【QQ2005 Beta3 Chuanmei Edition】
0585=【QQ2005 Beta3】
0583=【2005 Beta3 Century Hero Edition】
0580=【2005 Sacred Elf Edition】
058F=【QQ2005 Beta3 China Construction Bank Edition】
058B=【QQ2005 Beta3 Patch】
057A=【TM2005 Official Edition】
057F=【TM 2005 Elf Workshop IP Display Edition】
057E=【TM 2005 Official Edition Patch】
0579=【QQ2005 Beta3 Internal Test Edition】
0578=【QQ2005 beta3 Leaked Edition】
0575=【QQ2005 Beta3 Leaked Edition】
0567=【QQ2005 Beta2 Chuanmei Edition】
0566=【QQ2005 Public Security Bureau Monitoring Edition】
...


Now you can find the corresponding QQ version by entering the first four digits before the equal sign

[ Last edited by zouzhxi on 2007-6-29 at 04:04 PM ]
Floor2 wudixin96 Posted 2007-06-29 14:54
银牌会员 Posts 931 Credits 1,928
What does this mean? Is it wanting to help write it out?
Floor3 zouzhxi Posted 2007-06-29 15:03
中级用户 Posts 177 Credits 430 From 广东深圳
Yes...

Because I didn't get it out with FIND...
Floor4 wudixin96 Posted 2007-06-29 15:13
银牌会员 Posts 931 Credits 1,928


Try this. Of course, this is not perfect. If you enter a non-existent version, it will be incorrect.
Floor5 HAT Posted 2007-06-29 15:22
版主 Posts 5,017 Credits 9,023
试试这个:)
Floor6 zouzhxi Posted 2007-06-29 15:23
中级用户 Posts 177 Credits 430 From 广东深圳
Path:
QQVERPATH=D:\zouzhxi\geqi\qqVersion.ini
Floor7 zouzhxi Posted 2007-06-29 15:27
中级用户 Posts 177 Credits 430 From 广东深圳
The following very "beautiful" picture appears:


'054C' is not an internal or external command, nor is it a runnable program or batch file.
'054A' is not an internal or external command, nor is it a runnable program or batch file.
'0548' is not an internal or external command, nor is it a runnable program or batch file.
'057F' is not an internal or external command, nor is it a runnable program or batch file.
'0546' is not an internal or external command, nor is it a runnable program or batch file.
'0520' is not an internal or external command, nor is it a runnable program or batch file.
'051B' is not an internal or external command, nor is it a runnable program or batch file.
'051D' is not an internal or external command, nor is it a runnable program or batch file.
'0519' is not an internal or external command, nor is it a runnable program or batch file.
'0518' is not an internal or external command, nor is it a runnable program or batch file.
Floor8 wudixin96 Posted 2007-06-29 15:33
银牌会员 Posts 931 Credits 1,928
Which one did the LZ test with?

I tested both and they are both fine.
Floor9 HAT Posted 2007-06-29 15:35
版主 Posts 5,017 Credits 9,023
Version does not exist, then report an error
Floor10 zouzhxi Posted 2007-06-29 16:12
中级用户 Posts 177 Credits 430 From 广东深圳
But there are some with letters... How to handle it....
Floor11 wudixin96 Posted 2007-06-29 16:17
银牌会员 Posts 931 Credits 1,928
When comparing, /i ignores case sensitivity
Floor12 HAT Posted 2007-06-29 16:19
版主 Posts 5,017 Credits 9,023
//But some have letters... How to handle....
Floor13 zouzhxi Posted 2007-06-29 16:54
中级用户 Posts 177 Credits 430 From 广东深圳
It doesn't work... I also know that adding /I can make it not case-sensitive.
Floor14 wudixin96 Posted 2007-06-29 16:56
银牌会员 Posts 931 Credits 1,928
Speechless. Which piece of code exactly didn't work for the original poster?
Floor15 zouzhxi Posted 2007-06-29 17:02
中级用户 Posts 177 Credits 430 From 广东深圳


I also wrote it like this... I can query by entering 05FF, but entering 05ff returns to the :SOUSUO label and doesn't perform the query....

[ Last edited by zouzhxi on 2007-6-29 at 05:03 PM ]
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023