![]() |
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-27 07:18 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » Failed to search. How to determine the QQ installation path according to the registry? |
| Printable Version 1,872 / 5 |
| Floor1 chengbiner | Posted 2007-08-11 16:56 |
| 初级用户 Posts 44 Credits 105 | |
|
How to determine the QQ installation path according to the registry, and set the path as a variable? Looking forward to experts!
|
|
| Floor2 chengbiner | Posted 2007-08-13 09:26 |
| 初级用户 Posts 44 Credits 105 | |
|
Why is there no one who knows? I want to use P to handle automatically starting QQ. It's all sunk, give it a bump!
|
|
| Floor3 不得不爱 | Posted 2007-08-13 14:16 |
| 超级版主 Posts 2,044 Credits 5,310 From 四川南充 | |
|
Run the following:
REG QUERY HKLM\SOFTWARE\TENCENT\QQ|find ":\" See if the correct path can be found |
|
| Floor4 Climbing | Posted 2007-08-14 08:30 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
QQ can be regarded as a green software. For example, if you reinstall the system, there is no need to reinstall QQ at all. You can directly start the original installed QQ.exe to run QQ. Therefore, querying the installation path of QQ through the registry method may not be effective. However, I found the following key value in the registry that saves the installation path of QQ:
[HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ] install="..." The following command can be used to query: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ /v install Combined with the for command, this path can be extracted to the environment variable as follows: for /f "usebackq tokens=2,*" %i in (`reg query KEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ /v install ^| find /i "install"`) do set QQPath=%j echo %QQPath% |
|
| Floor5 wudixin96 | Posted 2007-08-14 09:21 |
| 银牌会员 Posts 931 Credits 1,928 | |
|
Hehe, the person above, isn't this the same effect as the 3rd floor?
|
|
| Floor6 chengbiner | Posted 2007-08-16 16:13 |
| 初级用户 Posts 44 Credits 105 | |
|
Thanks everyone
It succeeded! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |