why would a Environment.ExpandEnvironmentVariables call throw an exception while being executed out of the Intranet security zone ?
The exception was "Request for the permission of type System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed." Sample Code: string PrivateDir = Environment.ExpandEnvironmentVariables("C:\\Folder"); You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.