Thread: using c++ to use a ms-dos shell command

  1. #1

    Unhappy using c++ to use a ms-dos shell command

    how cna i make c++ use a shell command? in qbasic and vbasic is shells, what about borland c++? thanks

  2. #2
    Registered User
    Join Date
    Dec 2001


    #include stdlib.h.

    Replace command with whatever you need (don't forget the parentheses).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can I issue a command to DOS from within a program?
    By Sukarn in forum Windows Programming
    Replies: 2
    Last Post: 12-22-2006, 07:44 AM
  2. Replies: 8
    Last Post: 09-16-2006, 01:18 PM
  3. problem with "touch" command in c program
    By Moony in forum C Programming
    Replies: 10
    Last Post: 08-01-2006, 09:56 AM
  4. how to command to close a dos window?
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 07-19-2002, 02:04 PM
  5. Writing A Dos Shell AkA Win 3.11 Mark 2 :p
    By Arius Myst in forum A Brief History of
    Replies: 5
    Last Post: 06-22-2002, 04:45 PM