Thread: dos commands in c++

  1. #1

    dos commands in c++

    how do you execute dos commands in c++? like:
    int var1;
    start [var1] or net use [var1]
    I dont know how to explain it but where I can make variables and input them in dos commands and execute them

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    system("whatever dos command goes here");

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Executing DOS commands from inside an image
    By Moony in forum C Programming
    Replies: 6
    Last Post: 03-16-2008, 12:40 PM
  2. DOS commands using C++
    By rusty0412 in forum C++ Programming
    Replies: 5
    Last Post: 07-11-2003, 04:56 PM
  3. Dos commands hehe
    By Carp in forum A Brief History of
    Replies: 2
    Last Post: 01-17-2003, 02:51 PM
  4. DOS Commands
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 05-13-2002, 03:40 AM
  5. DOS Commands
    By Zuul in forum C++ Programming
    Replies: 11
    Last Post: 01-04-2002, 04:41 PM