php 弹出cmd窗口,运行绿化.bat会一直跳出弹出CMD窗口

@ECHO OFF & CD /D %~DP0 & TITLE 绿化

>NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (

ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"

ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"

"%TEMP%\Getadmin.vbs"

DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL

Exit /b

)

taskkill /f /im "node.exe" >NUL 2>NUL

taskkill /f /im "CoreSync.exe" >NUL 2>NUL

taskkill /f /im "CCXProcess.exe" >NUL 2>NUL

taskkill /f /im "AdobeIPCBroker.exe" >NUL 2>NUL

taskkill /f /im "Creative Cloud.exe" >NUL 2>NUL

taskkill /f /im "Adobe Installer.exe" >NUL 2>NUL

taskkill /f /im "Adobe CEF Helper.exe" >NUL 2>NUL

taskkill /f /im "AdobeUpdateService.exe" >NUL 2>NUL

taskkill /f /im "Adobe Update Helper.exe" >NUL 2>NUL

::rd/s/q "%localappdata%\Adobe\Color"2>NUL

rd/s/q "%localappdata%\Adobe\OOBE"2>NUL

rd/s/q "%localappdata%\Adobe\PII"2>NUL

rd/s/q "%localappdata%\CEF"2>NUL

rd/s/q "%localappdata%\UXP"2>NUL

rd/s/q "%ProgramData%\Adobe\Installer"2>NUL

rd/s/q "%UserProfile%\AppData\LocalLow\Linguistics"2>NUL

rd/s/q "%AppData%\Adobe\Adobe Illustrator"2>NUL

rd/s/q "%AppData%\Adobe\Adobe Illustrator 24 Settings"2>NUL

rd/s/q "%AppData%\Adobe\Adobe PDF"2>NUL

rd/s/q "%AppData%\Adobe\AIRobin 24 Settings"2>NUL

rd/s/q "%AppData%\Adobe\CCX Welcome"2>NUL

::rd/s/q "%AppData%\Adobe\Color"2>NUL

rd/s/q "%AppData%\Adobe\Creative Cloud Libraries"2>NUL

rd/s/q "%AppData%\Adobe\CRLogs"2>NUL

rd/s/q "%AppData%\Adobe\DynamicSonar"2>NUL

::rd/s/q "%AppData%\Adobe\Color Profiles"2>NUL

rd/s/q "%AppData%\Adobe\LensCorrection"2>NUL

rd/s/q "%AppData%\Adobe\Optimized Colors"2>NUL

rd/s/q "%AppData%\Adobe\DVAAudioFilterScan"2>NUL

rd/s/q "%AppData%\Adobe\Adobe Analysis Server"2>NUL

rd/s/q "%AppData%\Adobe\Team Projects Local Hub"2>NUL

rd/s/q "%CommonProgramFiles%\Adobe\Bridge 2020 Extensions"2>NUL

rd/s/q "%CommonProgramFiles%\Adobe\Creative Cloud Libraries"2>NUL

::rd/s/q "%CommonProgramFiles%\Adobe\HelpCfg"2>NUL

::rd/s/q "%CommonProgramFiles%\Adobe\Scripting Dictionaries CC"2>NUL

::rd/s/q "%CommonProgramFiles%\Adobe\Startup Scripts CC"2>NUL

rd/s/q "%CommonProgramFiles%\Adobe\UXP"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Starth"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\Adobe Desktop Common"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\Adobe PCD"2>NUL

::rd/s/q "%CommonProgramFiles(x86)%\Adobe\Bridge 2020 Extensions"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\caps"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\CEP"2>NUL

::rd/s/q "%CommonProgramFiles(x86)%\Adobe\Color"2>NUL

::rd/s/q "%CommonProgramFiles(x86)%\Adobe\Color Profiles"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\Creative Cloud Libraries"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\Installers"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\OOBE"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\PCF"2>NUL

::rd/s/q "%CommonProgramFiles(x86)%\Adobe\Scripting Dictionaries CC"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\SLCache"2>NUL

::rd/s/q "%CommonProgramFiles(x86)%\Adobe\Startup Scripts CC"2>NUL

rd/s/q "%CommonProgramFiles(x86)%\Adobe\Vulcan"2>NUL

rd/s/q "%ProgramFiles(x86)%\Adobe\Adobe Creative Cloud Experience"2>NUL

reg delete "HKCU\Software\Adobe\Illustrator" /f >NUL 2>NUL

reg delete "HKCU\Software\Adobe\CommonFiles\CRLog" /f >NUL 2>NUL

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "CCXProcess" >NUL 2>NUL

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "CCXProcess" >NUL 2>NUL

reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" "CCXProcess" >NUL 2>NUL

::复制颜色配置脚本支持等文件到系统共用库绝对位置;

If not exist "%AppData%\Adobe" md "%AppData%\Adobe" 2>NUL

xcopy /e/i/c/y "Data\AppData\Adobe" "%AppData%\Adobe" >NUL 2>NUL

If not exist "%CommonProgramFiles(x86)%\Adobe" md "%CommonProgramFiles(x86)%\Adobe" 2>NUL

xcopy /e/i/c/y "Data\CommonProgramFiles(x86)\Adobe" "%CommonProgramFiles(x86)%\Adobe" >NUL 2>NUL

::关联格式

reg add "HKLM\SOFTWARE\Classes\.8bf" /f /ve /d "Adobe.Photoshop.Plugin" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.8bi" /f /ve /d "Adobe.Photoshop.Plugin" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.acb" /f /ve /d "Adobe.Illustrator.ColorBook" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ai" /f /ve /d "Adobe.Illustrator.24" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ai\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /f /ve /d "{DDB16B7D-1D9D-441C-8B52-D3435C5FAEF1}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.aia" /f /ve /d "Adobe.Illustrator.Action" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.aip" /f /ve /d "Adobe.Illustrator.Plugin" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ait" /f /ve /d "Adobe.Illustrator.Template" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ait\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /f /ve /d "{DDB16B7D-1D9D-441C-8B52-D3435C5FAEF1}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ase" /f /ve /d "Adobe.Illustrator.SwatchExchange" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.bmp\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.cdr\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.cgm\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.csf" /f /ve /d "Adobe.Illustrator.ColorSettings" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.dct" /f /ve /d "Adobe.Illustrator.Dictionary" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.dib\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.doc\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.docx\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.dwg\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.dxf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.emf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.eps" /f /ve /d "Adobe.Illustrator.EPS" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.eps\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /f /ve /d "{DDB16B7D-1D9D-441C-8B52-D3435C5FAEF1}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.epsf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.flt" /f /ve /d "Adobe.Illustrator.Filter" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.gif\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.hyp" /f /ve /d "Adobe.Illustrator.Hyphen" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.icb\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.idea" /f /ve /d "Adobe.Illustrator.idea" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.idea\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.j2c\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.j2k\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jp2\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpc\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpe\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpeg\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpg\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.jpx\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pcx\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pdd\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pdf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pic\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pict\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.png\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.ps\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.psd\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.pxr\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.rle\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.rtf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.sbx" /f /ve /d "Adobe.Illustrator.Tsume" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.smrd" /f /ve /d "Adobe.Illustrator.Filter" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.svg\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.svgz\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.tga\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.tif\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.txt\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.vda\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.vst\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.win" /f /ve /d "Adobe CMS Extension" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.wmf\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\.xml\OpenWithList\Illustrator.exe" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator" /f /ve /d "Adobe Illustrator Artwork 24.0" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator\CLSID" /f /ve /d "{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator\CurVer" /f /ve /d "Adobe.Illustrator.24" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator\CLSID" /f /ve /d "{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24" /f /ve /d "Adobe Illustrator Artwork 24.0" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.8bf\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,9" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.8bi\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,9" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.ai\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,1" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.aia\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,10" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.aip\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,5" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.ase\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,20" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.dct\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,7" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.eps\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,2" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.flt\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,6" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.hyp\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,4" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.prf\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,3" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\.sbx\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,8" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\CLSID" /f /ve /d "{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,1" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\Initialized" /f /ve /d "0" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\Insertable" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\protocol\StdFileEditing\server" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\shell\edit" /f /v extended /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\shell\edit\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /e \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.24\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Action" /f /ve /d "Adobe Illustrator Action File" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Action\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,10" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.ColorBook" /f /ve /d "Adobe Color Book File" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.ColorBook\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,24" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.ColorSettings" /f /ve /d "Adobe Color Settings File" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.ColorSettings\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,24" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Dictionary" /f /ve /d "Adobe Illustrator Spelling Dictionary" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Dictionary\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,7" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dwg\CLSID" /f /ve /d "{C0ED15F0-61BB-11d3-B6CA-00C04F6A0D06}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dwg\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,12" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dwg\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dwg\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dxf\CLSID" /f /ve /d "{C0ED15F0-61BB-11d3-B6CA-00C04F6A0D06}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dxf\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,13" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dxf\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.dxf\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS" /f /ve /d "Encapsulated PostScript" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\CLSID" /f /ve /d "{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,2" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\Insertable" /f /ve /d "" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\shell\edit\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /e \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.EPS\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Filter" /f /ve /d "Adobe Illustrator Filter" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Filter\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,6" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Hyphen" /f /ve /d "Adobe Illustrator Hyphenation Dictionary" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Hyphen\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,4" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.idea\CLSID" /f /ve /d "{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.idea\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\idea.ico" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.idea\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.pict\CLSID" /f /ve /d "{C0ED15F0-61BB-11d3-B6CA-00C04F6A0D06}" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.pict\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,15" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.pict\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.pict\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Plugin" /f /ve /d "Adobe Illustrator Plugin" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Plugin\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,5" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.SwatchExchange" /f /ve /d "Adobe Illustrator Swatch Exchange File" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.SwatchExchange\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,20" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Template" /f /ve /d "Adobe Illustrator Template" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Template\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,20" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Template\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Template\shell\print\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" /p \"%%1\"" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Tsume" /f /ve /d "Adobe Illustrator Tsume File" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Illustrator.Tsume\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,8" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Photoshop.Plugin" /f /ve /d "Adobe Photoshop Plugin" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Adobe.Photoshop.Plugin\DefaultIcon" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe,24" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\Applications\Illustrator.exe\shell\open\command" /f /ve /d "\"%~dp0Support Files\Contents\Windows\Illustrator.exe\" \"%%1\"" >NUL 2>NUL

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Illustrator.exe" /f /v Path /d "%~dp0\" >NUL 2>NUL

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Illustrator.exe" /f /ve /d "%~dp0Support Files\Contents\Windows\Illustrator.exe" >NUL 2>NUL

reg add "HKLM\SOFTWARE\Classes\CLSID\{E0C71512-BEE9-4319-A1FF-3CD2DE74EA4A}" /f >NUL 2>NUL

::刷新关联图标

assoc .=.file >nul 2>nul & RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters

::创建快捷方式到根目录方便启动

echo set WshShell = WScript.CreateObject("WScript.Shell")>tmp.vbs

echo set oShellLink = WshShell.CreateShortcut("%~dp0" ^& "\Illustrator.lnk")>>tmp.vbs

echo oShellLink.TargetPath ="%~dp0Support Files\Contents\Windows\Illustrator.exe">>tmp.vbs

echo oShellLink.WindowStyle ="1">>tmp.vbs

echo oShellLink.IconLocation = "%~dp0Support Files\Contents\Windows\Illustrator.exe">>tmp.vbs

echo oShellLink.Description = "">>tmp.vbs

echo oShellLink.WorkingDirectory = "%~dp0">>tmp.vbs

echo oShellLink.Save>>tmp.vbs

call tmp.vbs & del /f /q tmp.vbs >NUL 2>NUL

ECHO.&ECHO 系统迷xitmi.com完成!创建桌面快捷方式?

ECHO.&ECHO 是敲任意键,否直接关闭!&PAUSE >NUL 2>NUL

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

CLS &ECHO.&ECHO 系统迷xitmi.com完成!&PAUSE >NUL 2>NUL & EXIT

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值