Hi all,
I have to create a folder under windows\system32. If folder already exists skip it, if not i have to create folder in System32.
I used below code, but it doesnt work...
string pp = Environment.GetFolderPath(Environment.SpecialFolder.System);string pp1 =Path.Combine(pp, "Manifests") ;
if (!Directory.Exists(pp1))
{
Directory.CreateDirectory(pp1);
}
Any suggestion???
Thanks
Divakar