@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

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

  1. windows系统dos命令:cmd.exe运行的bat批处理命令详解

    DOS批处理 1.简单批处理命令 1.1echo:打开或关闭回显 echo off 关闭回显 ==>关闭之后不会显示一些不必要的信息. 后面所有的命令均不显示,但本条命令是显示的. @echo ...

  2. cmd命令行窗口运行py文件

    文章目录 一.cmd是什么? 二.cmd命令行窗口 运行py文件 一.cmd是什么? cmd是指 命名提示符,是在操作系统中,提示进行命令输入的一种工作提示符. windows环境下,命令行程序为 c ...

  3. windows安装matplotlib方法(cmd+pycharm)+cmd不运行python命令解决方法

    前言 最近在学习matplotlib,但是在安装时就遇到了问题,写个文章记录一下希望能够帮助到更多的人. 目录 前言 一 通过cmd安装matplotlib 1. 安装python 2. 安装pip ...

  4. 解决win10 cmd下运行python弹出windows应用商店问题

    解决win10 cmd下运行python弹出windows应用商店问题 问题描述: ​ win10系统下,环境变量已配置,然而在cmd下或powershell下运行python,均弹出应用商店,不能正 ...

  5. 运行eclipse.exe文件安装时弹出网页 【两牛博客--知足且坚定,温柔且上进】

    运行eclipse.exe文件安装时弹出网页 [两牛博客--知足且坚定,温柔且上进] 问题描述 问题分析 解决方案 问题描述 官网下载eclipse安装文件 官网下载地址:https://www.ec ...

  6. pyqt5子窗口跳出主窗口_弹出式窗口与 可用性,转换和跳出率

    pyqt5子窗口跳出主窗口 Written by Cassandra Naji 由卡珊德拉·纳吉 ( Cassandra Naji)撰写 They go by many names - modal w ...

  7. springboot项目在cmd窗口运行后台卡顿问题

    springboot项目在cmd窗口运行后台卡顿问题 1.背景介绍 2.问题描述 3.问题追踪 4.线程快照分析 5.解决办法 1.背景介绍 项目使用Springboot开发,项目打成jar后,部署在 ...

  8. matlab运行函数的过程,关于matlab的一些作业一、要求写出窗口运行过程及结果1.利用Matlab求函数f(x)=-x2+ex+lnx的导数、...

    共回答了20个问题采纳率:90% 代码 function main() % 一.要求写出窗口运行过程及结果 % % 1.利用Matlab求函数f(x)=-x2+ex+lnx的导数.不定积分和1到10区 ...

  9. 在cmd或者powerShell窗口运行java的jar文件

    在cmd或者powerShell窗口运行java的jar文件 在桌面进入 在桌面进入cmd或者powerShell窗口运行本文采用cmd的窗口进行演示,powerShell窗口和cmd窗口输入命令一样 ...

最新文章

  1. IIS日志清理CMD版,VBS版,JS版,WSH版
  2. 短视频的生成,不要在技术上想当然
  3. 丢失控制文件,有旧的备份控制文件,之后有drop表空间和create表空间的操作恢复。...
  4. 如何实现分享网站文章到微信朋友圈时显示指定缩略图或LOGO
  5. linux IP 命令使用举例
  6. ASP.NET 实现Base64文件流下载PDF
  7. Windows Servers2019没有无线网卡驱动
  8. web.config中特殊字符的处理
  9. 创客教育嵌入式linux,华清创客教育学院 嵌入式开发教程入门基础知识
  10. 一键美化python代码
  11. webpack打包报错系列(二)Failed to load C:\Users\XXX\webpack.config.js:17 mode: ‘development‘
  12. 小兮码 linux版本,【图片】单字利器:二笔顶功——小兮码【输入法吧】_百度贴吧...
  13. canvas制作圆角矩形(包括填充矩形的功能)
  14. ECharts-中国省市地图
  15. STC12C5A60S2软件模式SPI读取DS1302时钟实时显示在1602
  16. MySQL按天统计一周没有数据补0
  17. 使用Hyper-V集群和存储功能以达到HA
  18. preg_match 函数使用及正则表达式各种示例
  19. 游戏美术如何选型 —— 访莉莉丝技术美术总监李靖
  20. 卢卡奇总体性原则_简述卢卡奇的总体性思想

热门文章

  1. Windows应用程序
  2. vue使用echarts实现地图预警展示
  3. UE4项目优化(帧数优化)相关知识
  4. 数据结构 ->顺序表的输入 输出 查找 删除 销毁 快速排序
  5. 二分查找法。Java泛型设计二分查找法。
  6. 银联POS返回码/错误码详解
  7. 软件随想录:程序员部落酋长Joel谈软件(local.joelonsoftware.com/wiki)-23
  8. 安装Altium Designer失败
  9. 基于Java (spring-boot)和微信小程序的校园闲置二手小程序交易商城(毕业设计优秀论文)
  10. 代码行数统计工具statistic和cloc的使用