![]() |
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-09 21:51 |
47,811 topics / 349,897 posts / today 2 new / 48,255 members |
| DOS批处理 & 脚本技术(批处理室) » How to query the installation path of the software SQL Server 2000? |
| Printable Version 2,224 / 21 |
| Floor16 augvii | Posted 2008-09-24 13:43 |
| 初级用户 Posts 17 Credits 38 | |
|
Remember to add quotes when there are spaces in the path:
---------------------------------------------------- Correct. There are many details I don't know, thanks a lot, HAT. |
|
| Floor17 HAT | Posted 2008-09-24 13:56 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Batch Processing Tutorials
http://www.cn-dos.net/forum/viewthread.php?tid=2338 The Most Complete and User - Friendly Batch Processing Tutorial http://www.cn-dos.net/forum/viewthread.php?tid=18482 Compilation of Frequently Asked Questions for Batch Processing Newcomers http://www.cn-dos.net/forum/viewthread.php?tid=34049 Collection of Classic Posts in the Batch Processing Room of China DOS Union http://www.cn-dos.net/forum/viewthread.php?tid=31551 |
|
| Floor18 augvii | Posted 2008-09-24 14:26 |
| 初级用户 Posts 17 Credits 38 | |
|
Hmm, studying...
|
|
| Floor19 everest79 | Posted 2008-09-25 11:46 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
|
There is also a method to obtain the path of the SQL service program
|
|
| Floor20 augvii | Posted 2008-09-25 11:49 |
| 初级用户 Posts 17 Credits 38 | |
|
Is it also to find in the registry?
|
|
| Floor21 chenall | Posted 2008-09-25 12:35 |
| 银牌会员 Posts 469 Credits 1,276 From 福建泉州 | |
|
The string obtained by reading the registry using the REG command line is sometimes incomplete. Although it appears complete when displayed, you can find that characters are missing at the end when redirecting. The specific reason is unknown. I only discovered this problem when I wanted to use REG to obtain the specified path in the registry a long time later.
The solution can be to use VBS or other tools. |
|
| Floor22 HAT | Posted 2008-09-25 14:19 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Test environment: xp sp2 en
Test result: no problem Microsoft Windows XP The problem you mentioned is about the issue when reg.exe in xp sp2 cs has Chinese in the search results: http://www.cn-dos.net/forum/viewthread.php?tid=22202 |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |