Code:System.Diagnostics.Process.Start("shutdown", "-r -t 05");//To rebootCode:System.Diagnostics.Process.Start("shutdown", "-s -t 05");//To ShutdownCode:for (int i = 0; i < numberOfFolders; i++) { System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + i.ToString()); }




Reply With Quote