system calls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Take a look at System.Diagnostic.Process class and its methods.

HTH
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top