@ECHO OFF & PUSHD "%~DP0" && CD /D "%~DP0"
IF EXIST "%PUBLIC%" >NUL 2>&1 REG QUERY "HKU\S-1-5-19"
IF NOT %ERRORLEVEL% EQU 0 (
IF EXIST "%PUBLIC%" powershell.exe -windowstyle hidden -noprofile "Start-Process '%~dpnx0' -Verb RunAs"
EXIT
)
set bit=
if /i %PROCESSOR_IDENTIFIER:~0,3% equ x86 (
ECHO.&ECHO 2020版本不支持32位系统！& PAUSE>NUL & EXIT
) else (
set bit=64
)
::结束Adobe产品非必要附加程序进程
taskkill /F /IM armsvc.exe >NUL 2>NUL
taskkill /F /IM AcroTray.exe >NUL 2>NUL
taskkill /F /IM AGSService.exe >NUL 2>NUL
taskkill /F /IM AGMService.exe >NUL 2>NUL
taskkill /f /IM AEGPUSniffer.exe >NUL 2>NUL
taskkill /f /IM AnywhereEncoder* >NUL 2>NUL
taskkill /f /IM AdobeIPCBroker*  >NUL 2>NUL
taskkill /f /IM AdobeUpdateService.exe >NUL 2>NUL
taskkill /f /IM "Adobe CEF Helper.exe" >NUL 2>NUL
taskkill /f /IM "Adobe Update Helper.exe" >NUL 2>NUL
taskkill /f /IM "Adobe Desktop Service.exe" >NUL 2>NUL
taskkill /f /IM "adobe_licensing_helper.exe" >NUL 2>NUL
taskkill /f /IM "Adobe Spaces Helper.exe" >NUL 2>NUL
taskkill /f /IM CRWindowsClientService.exe >NUL 2>NUL
taskkill /f /IM CoreSync.exe >NUL 2>NUL
taskkill /f /IM CCLibrary.exe >NUL 2>NUL
taskkill /f /IM CCXProcess.exe >NUL 2>NUL
taskkill /f /IM "Creative Cloud.exe" >NUL 2>NUL
taskkill /f /IM CEPHtmlEngine.exe >NUL 2>NUL
taskkill /f /IM GPUSniffer.exe >NUL 2>NUL
taskkill /F /IM sniffer.exe >NUL 2>NUL
taskkill /f /IM LogTransport2.exe >NUL 2>NUL
taskkill /f /IM ImporterREDServer.exe >NUL 2>NUL
taskkill /f /IM dvaaudiofilterscan.exe >NUL 2>NUL
taskkill /f /IM dynamiclinkmanager.exe >NUL 2>NUL
taskkill /f /IM ImporterREDServer.exe >NUL 2>NUL
taskkill /f /im "Adobe Audition.exe" >NUL 2>NUL

::清理Adobe产品套件开机启动项；
rmdir /s /q "%ProgramFiles%\Adobe\Adobe Creative Cloud Experience"2>NUL
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "CCXProcess" >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "AdobeGCInvoker-1.0" >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "AdobeAAMUpdater-1.0" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "CCXProcess" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "AdobeGCInvoker-1.0" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "AdobeAAMUpdater-1.0" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /f /v "AdobeAAMUpdater-1.0" >NUL 2>NUL

::清理Adobe产品残留的安装信息；
rmdir/s/q "%ProgramData%\Adobe\Installer"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\caps"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\backup"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Installers"2>NUL

::清理Adobe产品激活信息及缓存；
rmdir/s/q "%AppData%\Adobe\SLData"2>NUL
rmdir/s/q "%AppData%\Adobe\SLStore"2>NUL
rmdir/s/q "%ProgramData%\Adobe\SLStore"2>NUL
rmdir/s/q "%ProgramData%\regid.1986-12.com.adobe"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\SLCache"2>NUL

::清理Adobe产品正版验证AAM组件；
rmdir/s/q "%AppData%\Adobe\OOBE"2>NUL
rmdir/s/q "%LocalAppData%\Adobe\OOBE"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\OOBE"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\OOBE"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\AAMUpdaterInventory"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\AAMUpdaterInventory"2>NUL

::清理Adobe产品CC Library组件；
rmdir/s/q "%TEMP%\CreativeCloud"2>NUL
rmdir/s/q "%AppData%\Adobe\Creative Cloud Libraries"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\Vulcan"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Vulcan"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\Creative Cloud Libraries"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Creative Cloud Libraries"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_2_6_64"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_2_10_86"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_2_11_27"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_2_13_141"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_3_4_23"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\CEP\extensions\CC_LIBRARIES_PANEL_EXTENSION_3_7_76"2>NUL

::清理Adobe产品相关临时残留文件；
rmdir/s/q "%TEMP%\UXP"2>NUL
rmdir/s/q "%TEMP%\Adobe"2>NUL
rmdir/s/q "%TEMP%\Adobe Temp"2>NUL
rmdir/s/q "%TEMP%\cep_cache"2>NUL
rmdir/s/q "%TEMP%\PhotoshopCrashes"2>NUL
rmdir/s/q "%TEMP%\com.adobe.ae.cap"2>NUL
del /f /q "%TEMP%\AdobeIPC*" >NUL 2>NUL
del /f /q "%TEMP%\CEP*.log" >NUL 2>NUL
del /f /q "%TEMP%\NGL*" >NUL 2>NUL
del /f /q "%TEMP%\OCL*" >NUL 2>NUL

rmdir/s/q "%LocalAppData%\Adobe\PII"2>NUL
rmdir/s/q "%LocalAppData%\Adobe\Licflags"2>NUL
rmdir/s/q "%LocalAppData%\Adobe\TypeSupport"2>NUL
rmdir/s/q "%localappdata%\PeermdiristRepub"2>NUL
rmdir/s/q "%LocalAppData%\PeerDistRepub"2>NUL
rmdir/s/q "%PuBlic%\Documents\AdobeInstalledCodecsTier2"2>NUL
rmdir/s/q "%UserProfile%\AppData\LocalLow\Linguistics"2>NUL
rmdir/s/q "%userprofile%\AppData\LocalLow\Adobe\Linguistics"2>NUL

rmdir/s/q "%AppData%\Adobe\Adobe PCD"2>NUL
rmdir/s/q "%AppData%\Adobe\Adobe PDF"2>NUL
rmdir/s/q "%AppData%\Adobe\Audition"2>NUL
rmdir/s/q "%AppData%\Adobe\Adobe Analysis Server"2>NUL
rmdir/s/q "%AppData%\Adobe\Butler"2>NUL
rmdir/s/q "%AppData%\Adobe\Common"2>NUL
rmdir/s/q "%AppData%\Adobe\CRLogs"2>NUL
rmdir/s/q "%AppData%\Adobe\CAHeadless"2>NUL
rmdir/s/q "%AppData%\Adobe\CCX Welcome"2>NUL
rmdir/s/q "%AppData%\Adobe\DynamicSonar"2>NUL
rmdir/s/q "%AppData%\Adobe\dynamiclinkmanager"2>NUL
rmdir/s/q "%AppData%\Adobe\DVAAudioFilterScan"2>NUL
rmdir/s/q "%AppData%\Adobe\DVAAudioFilterScan Lumetri"2>NUL
rmdir/s/q "%AppData%\Adobe\GUDE"2>NUL
rmdir/s/q "%AppData%\Adobe\GPUSniffer"2>NUL
rmdir/s/q "%AppData%\Adobe\RTTransfer"2>NUL
rmdir/s/q "%AppData%\Adobe\Logs"2>NUL
rmdir/s/q "%AppData%\Adobe\Lumetri"2>NUL
rmdir/s/q "%AppData%\Adobe\LensCorrection"2>NUL
rmdir/s/q "%AppData%\Adobe\LogTransport2CC"2>NUL
rmdir/s/q "%AppData%\Adobe\Optimized Colors"2>NUL
rmdir/s/q "%AppData%\Adobe\PseudoFontsCache"2>NUL
rmdir/s/q "%AppData%\Adobe\Team Projects Local Hub"2>NUL
rmdir/s/q "%AppData%\Adobe\AIRobin 24 Settings"2>NUL
rmdir/s/q "%AppData%\Adobe\Workflow"2>NUL
rmdir/s/q "%AppData%\Adobe\Sonar"2>NUL

rmdir/s/q "%ProgramFiles%\Adobe\Adobe Creative Cloud Experience"2>NUL
rmdir/s/q "%ProgramFiles(x86)%\Adobe\Adobe Creative Cloud Experience"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\Keyfiles\Audition"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\Scripting Dictionaries CC\Adobe Audition"2>NUL
rmdir/s/q "%CommonProgramFiles%\Adobe\Startup Scripts CC\Audition"2>NUL
del/f/s/q "%CommonProgramFiles%\Adobe\HelpCfg\Audition*.helpcfg" >NUL 2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Adobe PCD"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Adobe Audition 2020"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Adobe Desktop Common"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\AdobeApplicationManager"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\PCF"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Startup Scripts CC\Adobe Audition"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Adobe\Scripting Dictionaries CC\Audition"2>NUL
rmdir/s/q "%CommonProgramFiles(x86)%\Starth"2>NUL

::复制帮助支持等文件
if not exist "%CommonProgramFiles%\Adobe" md "%CommonProgramFiles%\Adobe" 2>NUL
echo f|xcopy /e/i/c/y "%~dp0Data\CommonProgramFiles\Adobe" "%CommonProgramFiles%\Adobe" >NUL 2>NUL

::关联文件类型
reg add "HKCR\.aac" /f /ve  /d "AdobeAudition13_aac" >NUL 2>NUL
reg add "HKCR\.aac\OpenWithProgIDs" /f /v "AdobeAudition13_aac" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.ac3" /f /ve  /d "AdobeAudition13_ac3" >NUL 2>NUL
reg add "HKCR\.ac3\OpenWithProgIDs" /f /v "AdobeAudition13_ac3" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.acsrf" /f /ve  /d "AdobeAudition13_acsrf" >NUL 2>NUL
reg add "HKCR\.acsrf\OpenWithProgIDs" /f /v "AdobeAudition13_acsrf" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.AIF" /f /ve  /d "AdobeAudition13_aif" >NUL 2>NUL
reg add "HKCR\.AIF\OpenWithProgIds" /f /v "AdobeAudition13_aif" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.AIFC" /f /ve  /d "AdobeAudition13_aifc" >NUL 2>NUL
reg add "HKCR\.AIFC\OpenWithProgIds" /f /v "AdobeAudition13_aifc" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.AIFF" /f /ve  /d "AdobeAudition13_aiff" >NUL 2>NUL
reg add "HKCR\.AIFF\OpenWithProgIds" /f /v "AdobeAudition13_aiff" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.amio" /f /ve  /d "AdobeAudition13_amio" >NUL 2>NUL
reg add "HKCR\.amio\OpenWithProgIDs" /f /v "AdobeAudition13_amio" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.ape" /f /ve  /d "AdobeAudition13_ape" >NUL 2>NUL
reg add "HKCR\.ape\OpenWithProgIDs" /f /v "AdobeAudition13_ape" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.ases" /f /ve  /d "AdobeAudition13_ases" >NUL 2>NUL
reg add "HKCR\.ases\OpenWithProgIDs" /f /v "AdobeAudition13_ases" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.AU" /f /ve  /d "AdobeAudition13_au" >NUL 2>NUL
reg add "HKCR\.AU\OpenWithProgIds" /f /v "AdobeAudition13_au" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.auproj" /f /ve  /d "AdobeAudition13_auproj" >NUL 2>NUL
reg add "HKCR\.auproj\OpenWithProgIDs" /f /v "AdobeAudition13_auproj" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.bwf" /f /ve  /d "AdobeAudition13_bwf" >NUL 2>NUL
reg add "HKCR\.bwf\OpenWithProgIDs" /f /v "AdobeAudition13_bwf" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.CDA" /f /ve  /d "AdobeAudition13_cda" >NUL 2>NUL
reg add "HKCR\.cdlx" /f /ve  /d "AdobeAudition13_cdlx" >NUL 2>NUL
reg add "HKCR\.cdlx\OpenWithProgIDs" /f /v "AdobeAudition13_cdlx" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.ec3" /f /ve  /d "AdobeAudition13_ec3" >NUL 2>NUL
reg add "HKCR\.ec3\OpenWithProgIDs" /f /v "AdobeAudition13_ec3" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.fft" /f /ve  /d "AdobeAudition13_fft" >NUL 2>NUL
reg add "HKCR\.flac" /f /ve  /d "AdobeAudition13_flac" >NUL 2>NUL
reg add "HKCR\.flac\OpenWithProgIds" /f /v "AdobeAudition13_flac" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.iff" /f /ve  /d "AdobeAudition13_iff" >NUL 2>NUL
reg add "HKCR\.iff\OpenWithProgIDs" /f /v "AdobeAudition13_iff" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.m4a" /f /ve  /d "AdobeAudition13_m4a" >NUL 2>NUL
reg add "HKCR\.m4a\OpenWithProgIDs" /f /v "AdobeAudition13_m4a" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.MP2" /f /ve  /d "AdobeAudition13_mp2" >NUL 2>NUL
reg add "HKCR\.MP2\OpenWithProgIds" /f /v "AdobeAudition13_mp2" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.mp3" /f /ve  /d "AdobeAudition13_mp3" >NUL 2>NUL
reg add "HKCR\.mp3\OpenWithProgIDs" /f /v "AdobeAudition13_mp3" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.ogg" /f /ve  /d "AdobeAudition13_ogg" >NUL 2>NUL
reg add "HKCR\.ogg\OpenWithProgIDs" /f /v "AdobeAudition13_ogg" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.omf" /f /ve  /d "AdobeAudition13_omf" >NUL 2>NUL
reg add "HKCR\.omf\OpenWithProgIDs" /f /v "AdobeAudition13_omf" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.pcm" /f /ve  /d "AdobeAudition13_pcm" >NUL 2>NUL
reg add "HKCR\.pcm\OpenWithProgIDs" /f /v "AdobeAudition13_pcm" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.pkf" /f /ve  /d "AdobeAudition13_pkf" >NUL 2>NUL
reg add "HKCR\.pkf\OpenWithProgIDs" /f /v "AdobeAudition13_pkf" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.raw" /f /ve  /d "AdobeAudition13_raw" >NUL 2>NUL
reg add "HKCR\.raw\OpenWithProgIDs" /f /v "AdobeAudition13_raw" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.sesx" /f /ve  /d "AdobeAudition13_sesx" >NUL 2>NUL
reg add "HKCR\.sesx\OpenWithProgIDs" /f /v "AdobeAudition13_sesx" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.SND" /f /ve  /d "AdobeAudition13_snd" >NUL 2>NUL
reg add "HKCR\.SND\OpenWithProgIds" /f /v "AdobeAudition13_snd" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.voc" /f /ve  /d "AdobeAudition13_voc" >NUL 2>NUL
reg add "HKCR\.voc\OpenWithProgIDs" /f /v "AdobeAudition13_voc" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.vox" /f /ve  /d "AdobeAudition13_vox" >NUL 2>NUL
reg add "HKCR\.vox\OpenWithProgIDs" /f /v "AdobeAudition13_vox" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.wav" /f /ve  /d "AdobeAudition13_wav" >NUL 2>NUL
reg add "HKCR\.wav\OpenWithProgIDs" /f /v "AdobeAudition13_wav" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\.WMA" /f /ve  /d "AdobeAudition13_wma" >NUL 2>NUL
reg add "HKCR\.WMA\OpenWithProgIds" /f /v "AdobeAudition13_wma" /t REG_BINARY /d "30" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aac" /f /ve  /d "AAC Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aac\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",2" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aac\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ac3" /f /ve  /d "Dolby Digital Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ac3\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",26" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_acsrf" /f /ve  /d "Adobe Audition Control Surface Plugin" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_acsrf\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",35" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aif" /f /ve  /d "AIF Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aif\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",3" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aif\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aifc" /f /ve  /d "AIFC Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aifc\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",4" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aifc\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aiff" /f /ve  /d "AIFF Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aiff\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",5" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_aiff\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_amio" /f /ve  /d "Adobe Audition AMIO Plugin" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_amio\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",33" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ape" /f /ve  /d "APE Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ape\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",32" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ape\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ases" /f /ve  /d "Adobe Audition Session Plugin" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ases\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",34" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_au" /f /ve  /d "AU Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_au\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",8" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_au\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_auproj" /f /ve  /d "Adobe Audition Project File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_auproj\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",1" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_auproj\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_bwf" /f /ve  /d "BWF Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_bwf\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",9" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_bwf\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_cda" /f /ve  /d "CDA Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_cda\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",30" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_cdlx" /f /ve  /d "Adobe Audition CD Layout File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_cdlx\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",23" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_cdlx\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ec3" /f /ve  /d "Dolby Digital Plus Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ec3\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",27" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ec3\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_fft" /f /ve  /d "Adobe Audition Noise Print File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_fft\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",10" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_flac" /f /ve  /d "FLAC Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_flac\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",21" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_flac\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_iff" /f /ve  /d "IFF Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_iff\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",12" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_iff\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_m4a" /f /ve  /d "MPEG-4 Audio Layer" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_m4a\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",28" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp2" /f /ve  /d "MP2 Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp2\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",24" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp2\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp3" /f /ve  /d "MP3 Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp3\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",13" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_mp3\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ogg" /f /ve  /d "OGG Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ogg\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",14" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_ogg\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_omf" /f /ve  /d "OMF Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_omf\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",22" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_omf\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_pcm" /f /ve  /d "PCM Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_pcm\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",25" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_pcm\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_pkf" /f /ve  /d "Adobe Audition Peak Data File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_pkf\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",15" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_raw" /f /ve  /d "RAW Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_raw\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",16" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_raw\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_sesx" /f /ve  /d "Adobe Audition Session File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_sesx\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",1" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_sesx\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_snd" /f /ve  /d "SND Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_snd\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",19" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_snd\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_voc" /f /ve  /d "VOC Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_voc\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",17" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_voc\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_vox" /f /ve  /d "VOX Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_vox\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",20" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_vox\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wav" /f /ve  /d "WAVE Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wav\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",18" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wav\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wma" /f /ve  /d "WMA Audio File" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wma\DefaultIcon" /f /ve  /d "\"%~dp0Adobe Audition.exe\",31" >NUL 2>NUL
reg add "HKCR\AdobeAudition13_wma\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKCR\Applications\Adobe Audition.exe\shell\open\command" /f /ve  /d "\"%~dp0Adobe Audition.exe\" \"%%1\"" >NUL 2>NUL
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Adobe Audition.exe" /f /v "Path" /d "\%~dp0\" >NUL 2>NUL
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Adobe Audition.exe" /f /ve /d "%~dp0Adobe Audition.exe" >NUL 2>NUL
del/f/q "%UserProfile%\AppData\Local\IconCache*.db" >nul 2>nul & assoc .=.file >NUL 2>NUL

mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\Adobe Audition 2020.lnk""):b.TargetPath=""%~dp0Adobe Audition.exe"":b.WorkingDirectory=""%~dp0"":b.Save:close")

CLS && ECHO.&ECHO 完成！ &&PAUSE>NUL & EXIT