I know this is old thread but i want take my chance.
i try your method but everytime i test it i get "Could not create process" message even i try use cmd as hardcord like this:
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: arminIT
Search: Search took 0.00 seconds.
Results 1 to 1 of 1
Click Here to Expand Forum to Full Width