Ok johnrbradley, it seems that your code work fine, but if i try inserting the command posted after: cmd | dir > my_test.txt | exit
it gives the following error:
The filename, directory name, or volume label syntax is incorrect
this is my code overall:
ArrayList ProcessList = new ArrayList()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.