@ECHO off 
cd /d "%~dp0"
reg add "HKCU\Software\Classes\.phc" /f /ve /t REG_SZ /d "CaricatureSoftware.PhotoToCartoonProject (phc)"
reg add "HKCU\Software\Classes\CaricatureSoftware.PhotoToCartoonProject (phc)" /f /ve /t REG_SZ /d "Photo to Cartoon Project"
reg add "HKCU\Software\Classes\CaricatureSoftware.PhotoToCartoonProject (phc)\shell" /f /ve /t REG_SZ /d "open"
reg add "HKCU\Software\Classes\CaricatureSoftware.PhotoToCartoonProject (phc)\shell\open" /f /ve /t REG_SZ /d "&Open"
reg add "HKCU\Software\Classes\CaricatureSoftware.PhotoToCartoonProject (phc)\shell\open\command" /f /ve /t REG_SZ /d "\"%cd%\Photo to Cartoon.exe\" \"%%1\""
reg add "HKCU\Software\Classes\CaricatureSoftware.PhotoToCartoonProject (phc)\shell\open\command" /f /v "command" /t REG_MULTI_SZ /d "%%Toj6(zFs8}60SOV&Q'A>eO'Hd&%%^VKIM7Ey0Z2v. "%%1""
reg add "HKCU\Software\Caricature Software\Photo to Cartoon\6" /f /v "Status" /t REG_DWORD /d 4294967295
cls 
color 0A 
ECHO             欢迎使用!
ECHO        ☆ 绿化制作：忘言 ☆
ECHO      http://suyg.blog.163.com
ECHO ===============================
ECHO 配置注册完毕!按任意键启动程序... 
pause>nul
start " " "Photo to Cartoon.exe"