N Neil Nov 11, 2003 #2 Hi. I use the following to retrieve the windows directory: Directory.GetParent(Environment.SystemDirectory).ToString() -Neil
Hi. I use the following to retrieve the windows directory: Directory.GetParent(Environment.SystemDirectory).ToString() -Neil
T Tom Shelton Nov 12, 2003 #3 Can anybody tell me how I can get the windows directory in C#? Tanx, Hans Click to expand... string winDir = Environment.GetFolderPath(Environment.SpecialFolder.System) That will retrieve the system folder path - ex. C:\Windows\System32.. Is that what your after?
Can anybody tell me how I can get the windows directory in C#? Tanx, Hans Click to expand... string winDir = Environment.GetFolderPath(Environment.SpecialFolder.System) That will retrieve the system folder path - ex. C:\Windows\System32.. Is that what your after?