RobotStudio event

Windows environment variables in Rapid

Is there any way to use Windows environment variables (for example %UserProfile%) from Rapid code? I suppose not since the character % is reserved for late bindings in Rapid. I have a practical case where I'd like to open a file from the Windows Documents folder. In Windows the path would be "C:\Users\%USERPROFILE%\Documents". Is there any workaround for this? If not, perhaps it's worth building something for it. That would allow customized Rapid program behaviour for each Windows user.