|
-
May 13th, 2013, 05:21 PM
#4
Re: Automate Command Prompt Window (CMD) and doing many commands at a time
Ahh, I wasn't thinking.. And the reason is because the code there is just using the Process class alone. Why not p/Invoke AllocConsole and use that for the entire session? There's shouldn't be a reason to run a batch file. Hiding that allocated console wouldn't be difficult at all either with the p/Invoke'd ShowWindow function.
Last edited by AceInfinity; May 13th, 2013 at 05:25 PM.
<<<------------
.NET Programming (2012 - 2018)
®Crestron - DMC-T Certified Programmer | Software Developer <<<------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|