Perhaps I've missed something, but both %SYSTEMROOT% and %USERPROFILE% are directly available in KiXtart, as are all (normal) environment variables.

On my PC:
Code:
"SYSTEMROOT is  : "+%SYSTEMROOT% ?

"USERPROFILE is : "+%USERPROFILE% ?



Yields:
Quote:

SYSTEMROOT is C:\Windows
USERPROFILE is C:\Documents and Settings\rhowarth