Environment.GetFolderPath(Environment.SpecialFolder.System) will return "C:\windows\system32" Path.GetDirectoryName(Environment.GetFolderPath(Environment.SpecialFolder.System)) will give you C:\windows - Windows being of course your actual instalation directory which is sometimes winnt
windows folder
Shaun Whyte
Path.GetDirectoryName(Environment.GetFolderPath(Environment.SpecialFolder.System))
will give you C:\windows - Windows being of course your actual instalation directory which is sometimes winnt