bat转换AU3代码如下:RunWait(@ComSpec & ' /c ' & '@Echo off&title wkdxz ', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'setlocal enabledelayedexpansion', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'for /f "delims=" %a in (' & "'" & _
'reg query HKEY_LOCAL_MACHINE\SOFTWARE', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & '\Wow6432Node\Microsoft\windows\CurrentVersion\Uninstall', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & '\2345Explorer' & "'" & _
') do (', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'echo %a|findstr /i "UninstallString" >nul&&for /f "tokens=1,* ', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'delims=:" %b in ("%a") do (', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'set "a=%b"', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'set "b=%c"', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'if exist "!a:~-1!:!b!" echo 正在启动卸载程序&start "" "!a:~-1!:!b!"', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & '))', '', @SW_HIDE)
RunWait(@ComSpec & ' /c ' & 'exit', '', @SW_HIDE)
|