SET XPGtemp=%CD%
SET XPGtemp=%XPGtemp:\=\\%
> ".\xpg.reg" ECHO Windows Registry Editor Version 5.00
>>".\xpg.reg" ECHO.
>>".\xpg.reg" ECHO [HKEY_CLASSES_ROOT\.xpg]
>>".\xpg.reg" ECHO @="IllustStudio.xpg"
>>".\xpg.reg" ECHO.
>>".\xpg.reg" ECHO [HKEY_CLASSES_ROOT\IllustStudio.xpg]
>>".\xpg.reg" ECHO @="IllustStudio ÎÄµµ"
>>".\xpg.reg" ECHO.
>>".\xpg.reg" ECHO [HKEY_CLASSES_ROOT\IllustStudio.xpg\DefaultIcon]
>>".\xpg.reg" ECHO @="%XPGtemp%\\Tool\\iswResJ.dll,0"
>>".\xpg.reg" ECHO.
>>".\xpg.reg" ECHO [HKEY_CLASSES_ROOT\IllustStudio.xpg\shell\open\command]
>>".\xpg.reg" ECHO @="\"%XPGtemp%\\Tool\\IllustStudio.exe\" \"%%1\""
regedit /s ".\xpg.reg"
del xpg.reg