Possible Duplicate:
ShellExecute equivalent in .NET
Execute CMD command from code
Say for example i want to unhide all files and folders in a drive for this in command prompt we use this command attrib -s -h -r -a /s /d i:*.* How to make this execute in a C# program.