visual c++ - how to make the cmd window go away when running a system command in c++ -
i using c++.net , program needs make directory
i system command
system("mkdir");
but when command in gui program cmd window comes in , disapears again there way command without window showing up?
or there easier way make directory in c++?
thanks
luck
createdirectory ( http://msdn.microsoft.com/en-us/library/aa363855%28vs.85%29.aspx ) easier way, though have create intermediate directories yourself.
alternatively can use createprocess launch console flag create_no_window (and remember wait process terminate).
Comments
Post a Comment