1. Buka Notepad, Copy Code dibwah ini:
:MENU
CLS
@ECHO OFF
TITLE Adobe Photoshop CS3 Compressor + Setting
ECHO Choose an Option from below:
echo.
ECHO 1 - Setup Photoshop (Extended)
ECHO 2 - Cleanup Photoshop
echo.
ECHO 3 - Backup Preferences
ECHO 4 - Restore Preferences
echo.
ECHO C - Compress Photoshop Files (UPX)
ECHO D - Decompress Photoshop Files (UPX)
echo.
ECHO E - Exit
ECHO __________________________________________
SET /P Choice=
IF /I '%Choice%'=='1' GOTO 1
IF /I '%Choice%'=='2' GOTO 2
IF /I '%Choice%'=='3' GOTO 3
IF /I '%Choice%'=='4' GOTO 4
IF /I '%Choice%'=='C' GOTO C
IF /I '%Choice%'=='D' GOTO D
IF /I '%Choice%'=='E' GOTO E
GOTO MENU
:E
EXIT
:1
CLS
@ECHO ON
XCOPY /Y "%~dp0cache.db" "%COMMONPROGRAMFILES%\Adobe\Adobe PCD\cache\"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
:2
CLS
@ECHO ON
REG DELETE "HKCU\Software\Adobe\Photoshop\10.0" /f
REG DELETE "HKLM\Software\Adobe\Photoshop\10.0" /f
RD /S /Q "%USERPROFILE%\Application Data\Adobe"
RD /S /Q "%USERPROFILE%\Local Settings\Application Data\Adobe"
RD /S /Q "%COMMONPROGRAMFILES%\Adobe"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
:3
CLS
@ECHO ON
XCOPY /Y "%APPDATA%\Adobe\Adobe Photoshop CS3\Adobe Photoshop CS3 Settings\Adobe Photoshop CS3 Prefs.psp" "%~dp0"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
:4
CLS
@ECHO ON
XCOPY /Y "%~dp0Adobe Photoshop CS3 Prefs.psp" "%APPDATA%\Adobe\Adobe Photoshop CS3\Adobe Photoshop CS3 Settings\"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
:C
CLS
@ECHO ON
FOR /R %%I IN (*.*) DO upx --lzma "%%I"
upx -d "%~dp0Adobe Photoshop CS3\Required\ADMUI3.fon"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
:D
CLS
@ECHO ON
FOR /R %%I IN (*.*) DO upx -d "%%I"
@echo off
sleep.exe 2
echo.
echo Done!
@echo off
sleep.exe 1
GOTO MENU
2. Save dengan format .cmd
0 Comments:
Post a Comment