This commit is contained in:
@@ -812,6 +812,14 @@ namespace AyaNova.Util
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
//only applies if there is a % in it
|
||||
//"A string containing the names of zero or more environment variables. Each environment variable is quoted with the percent sign character (%)."
|
||||
|
||||
if(!path.Contains('%')){
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
return System.Environment.ExpandEnvironmentVariables(path);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user