Thread: Executing shell/dos commands

  1. #1

    Question Executing shell/dos commands

    I've done a search but can't find anything on this topic.

    I'm wanting to execute dos commands from my program. In particular the "cls" (clear screen) command.

    Any help would be appreciated.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    #include <stdlib.h> or <cstdlib>

    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :-

  3. #3
    Perfect, thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. executing commands
    By cstudent in forum C Programming
    Replies: 2
    Last Post: 04-24-2008, 02:59 AM
  2. Executing DOS commands from inside an image
    By Moony in forum C Programming
    Replies: 6
    Last Post: 03-16-2008, 12:40 PM
  3. Run Error, Commands Executing Simultaneously..
    By MistuRaz in forum C Programming
    Replies: 3
    Last Post: 12-10-2006, 04:10 AM
  4. Executing system commands cross platform
    By markucd in forum C++ Programming
    Replies: 6
    Last Post: 11-04-2005, 08:56 AM
  5. Replies: 1
    Last Post: 03-11-2003, 05:36 PM