Can Windows environment variables be referred to within custom configuration?

My team has recently switched from using a shared network drive to using OneDrive. Within our application’s settings, we have a configuration setting with custom values for certificates.   Previously, we were able to refer to the network drive files without issue, but now the OneDrive files that are synced are prefaced by “C:/Users/[username]”. I’ve tried adding userprofile with that preface to my computer’s environment variables and referring to it via %userprofile%/[onedrive_path]  for the certificates’ values without any luck.   Is there a work-around for somehow substituting in a user’s local home directory within the configurations’ values? Or does the value have to point to a specific local filepath?
0 answers