Thread: calling and executing files

  1. #1
    Registered User unknownUser's Avatar
    Join Date
    Apr 2002

    Smile calling and executing files

    How would i run dir from my program is there sum way i can let the program use the program or what...
    I am trying to create a linux terminal emulator under windows

  2. #2
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    well you can use the dos.h, and call stuff with the system() function...

    altho i think in your situation you are creating a terminal so basically you want to create your own windows Shell...

    so you will have more work to do than just calling simple dos commands.
    LB0: * Life once school is done
    LB1: N <- WakeUp;
    LB2: N <- C++_Code;
    LB3: N >= Tired : N <- Sleep;
    LB4: JMP*-3;

  3. #3
    Registered User Xei's Avatar
    Join Date
    May 2002

    API Call

    use the api calls:

    See if that helps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 07-21-2008, 03:10 AM
  2. Getting Errors when calling pModel (Model Loading again)
    By Shamino in forum Game Programming
    Replies: 8
    Last Post: 12-06-2005, 08:20 PM
  3. executing another program
    By Jamsan in forum C++ Programming
    Replies: 2
    Last Post: 04-26-2003, 08:22 PM
  4. Follow up question re Calling by Value vs Reference
    By Sheshi in forum C++ Programming
    Replies: 9
    Last Post: 03-16-2003, 05:58 PM