本帖最后由 77七 于 2024-4-2 11:56 编辑
- %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c ""%~s0"" ::","","runas",1)(window.close)&&exit
- @echo off
- cd /d "%~dp0"
- set str=CorelDRAW Graphics Suite 2020\Programs64\Addons
- for %%a in (c d e f g) do (
- if exist "%%a:\Program Files (x86)\%str%" (
- robocopy . "%%a:\Program Files (x86)\%str%" /e /xf "%~f0"
- ) else if exist "%%a:\Program Files \%str%" (
- robocopy . "%%a:\Program Files \%str%" /e /xf "%~f0"
- )
- )
- pause
复制代码
|