Home All Groups Group Topic Archive Search About
Author
6 Jun 2005 11:39 PM
James
How would I make a system call using C#?  e.g. how would I execute a "dir" or
"attrib" command from within C#?  I can't seem to find this reference in the
System namespace. 

Thanks.

Author
7 Jun 2005 1:56 AM
AlexS
Take a look at System.Diagnostic.Process class and its methods.

HTH
Alex

Show quoteHide quote
"James" <Ja***@discussions.microsoft.com> wrote in message
news:1403EBAB-AE90-4038-B0C2-6DB5964F8D5F@microsoft.com...
> How would I make a system call using C#?  e.g. how would I execute a "dir"
or
> "attrib" command from within C#?  I can't seem to find this reference in
the
> System namespace.
>
> Thanks.

Bookmark and Share