Posted: Wed Jan 01, 2014 4:24 pm Post subject: Console Application run Command Prompt
Hey guys, I'm trying to do something that can automatically run the command prompt by just running the console application. Here's my problem
I use DISKPART as an Example
Code:
int main()
{
system("diskpart");
}
Result on console application:
Code:
Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: JUSTIN-PC
DISKPART>
How can I continue to command the command prompt by using coding method?? I tried all the methods that i know, but sadly still not working _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum