Last active
April 11, 2021 14:36
-
-
Save choutkamartin/200d73182f12fe14bcc184c10be181d9 to your computer and use it in GitHub Desktop.
Script for adding amtlib.dll files to their specific folders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "params=%*" | |
cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B ) | |
xcopy /s /y "%~dp0Adobe Photoshop CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe Photoshop CC 2018\" | |
xcopy /s /y "%~dp0Adobe After Effects CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe After Effects CC 2018\Support Files" | |
xcopy /s /y "%~dp0Adobe Illustrator CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe Illustrator CC 2018\Support Files\Contents\Windows" | |
xcopy /s /y "%~dp0Adobe InDesign CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe InDesign CC 2018\" | |
xcopy /s /y "%~dp0Adobe Premiere Pro CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe Premiere Pro CC 2018\" | |
xcopy /s /y "%~dp0Adobe Audition CC 2018\amtlib.dll" "c:\Program Files\Adobe\Adobe Audition CC 2018\" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment