How to determine the QQ installation path according to the registry, and set the path as a variable? Looking forward to experts!
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
@echo off
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ /v install>cv.txt
for /f "usebackq tokens=2,*" %%i in (cv.txt) do set QQPath=%%j
echo The location where your QQ is installed is: %QQPath%
del cv.txt
pause