Hi,
i found bugs in GetKeyfromreg.cmd.
here is fix - count with spaces and with windows XP
@echo off
if "%1"=="" goto :MISSING_PATH
set PATH_WHERE=%1
goto :RUN_ME
:MISSING_PATH
set PATH_WHERE=.
goto :RUN_ME
:RUN_ME
set KeyVal=HKCU\Software\R-TT\R-Studio\00000000
:RUN_EXPORT
del "%PATH_WHERE%\Hold.reg" 2>NUL
reg export %KeyVal% "%PATH_WHERE%\Hold.reg" >NUL
echo [LicenseKey] > "%PATH_WHERE%\key.ini"
type "%PATH_WHERE%\hold.reg" | find /v /i "Windows" | find /v /i "HKEY" > "%PATH_WHERE%\KeyOnly.txt"
for /f "TOKENS=1 Delims=\" %%a in (%PATH_WHERE%\KeyOnly.txt) do echo %%a >> "%PATH_WHERE%\key.ini"
del "%PATH_WHERE%\KeyOnly.txt" "%PATH_WHERE%\Hold.reg"
echo Key.ini created
pause