I know that this has been a while, but I would like to report here that I had a user reporting the following error in calling Environment.GetFolderPath (Environment.SpecialFolder.Personal) on an XP computer whose documents are being redirected to the network (goes to drive O):
System.ArgumentException: Absolute path information is required. at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Environment.GetFolderPath(SpecialFolder folder, SpecialFolderOption option) at System.Environment.GetFolderPath(SpecialFolder folder)
I did not have direct access to this machine configuration yet, but from Google search and user help, I believe that the redirect does not have the final \ (for example, O: instead of O: \).
So, I believe that the answer will be no, it will not be correctly resolved every time .
source share