I'm working on a program that act as a substitute for dos prompt (mostly for fun, it's not that useful), and a lot of the time I have to use system() to sort of leech on dos where I couldn't do something myself. However, this produces a really annoying dos box that flashes up every time I use one of those commands, so I was just wondering: is there any way to call the system() function and hide the dos box?