@echo off
for %%a in ("theworld.exe") do (
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TheWorld.exe" /ve /d "%%~fa" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TheWorld.exe" /v "Path" /d "%%~dpa" /f
reg add "HKLM\SOFTWARE\Classes\file\shell\open\command" /ve /d "\"%%~fa\" \"%%1\"" /f
reg add "HKLM\SOFTWARE\Classes\file\shell\TheWorld.exe\command" /ve /d "\"%%~fa\" \"%%1\"" /f
reg add "HKLM\SOFTWARE\Classes\HTTP\shell\TheWorld.exe\command" /ve /d "\"%%~fa\" \"%%1\"" /f
reg add "HKLM\SOFTWARE\Classes\https\shell\TheWorld.exe\command" /ve /d "\"%%~fa\" \"%%1\"" /f
reg add "HKLM\SOFTWARE\Classes\TheWorldURL\shell\open\command" /ve /d "\"%%~fa\" \"%%1\"" /f
reg add "HKLM\SOFTWARE\Clients\StartMenuanternet\TheWorld.exe\shell\open\command" /ve /d "%%~fa" /f
)