首页 > 代码库 > Rar安装包

Rar安装包

技术分享
@ECHO OFFIf exist "%Temp%\~import.reg" ( Attrib -R -S -H "%Temp%\~import.reg" del /F /Q "%Temp%\~import.reg" If exist "%Temp%\~import.reg" (  Echo Could not delete file "%Temp%\~import.reg"  Pause ))@echo onset "tpath=%~dp0U-Tea(V3)\cher.art.exe"set "tpath=%tpath:\=\\%"echo %tpath%@echo off> "%Temp%\~import.reg" ECHO Windows Registry Editor Version 5.00>> "%Temp%\~import.reg" ECHO>> "%Temp%\~import.reg" ECHO [HKEY_CLASSES_ROOT\U.URL]>> "%Temp%\~import.reg" ECHO @="\"URL:U.URL Protocol\"">> "%Temp%\~import.reg" ECHO "URL Protocol"="\"%tpath%\"">> "%Temp%\~import.reg" ECHO>> "%Temp%\~import.reg" ECHO [HKEY_CLASSES_ROOT\UClass.URL\DefaultIcon]>> "%Temp%\~import.reg" ECHO @="\"%tpath%\"">> "%Temp%\~import.reg" ECHO>> "%Temp%\~import.reg" ECHO [HKEY_CLASSES_ROOT\U.URL\shell]>> "%Temp%\~import.reg" ECHO>> "%Temp%\~import.reg" ECHO [HKEY_CLASSES_ROOT\U.URL\shell\open]>> "%Temp%\~import.reg" ECHO>> "%Temp%\~import.reg" ECHO [HKEY_CLASSES_ROOT\U.URL\shell\open\command]>> "%Temp%\~import.reg" ECHO @="\"%tpath%\" \"%%1\""START /WAIT REGEDIT /S "%Temp%\~import.reg"DEL "%Temp%\~import.reg"
View Code

 

Rar安装包