Thread: executing

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    227

    executing

    in trying to creat a prog that will execute a file like for example

    system("c:\mydocuments\me.jpg");

    but as i can see only dos commands work. is there away one how i can make this work for me... that is all i need just a simple prog that can execute files..... this way i can get lazyer hehehe thanx in advanced

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    To open say a word document you could use ShellExecute()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Executing a function from another thread.
    By Hiyo in forum C Programming
    Replies: 1
    Last Post: 11-25-2006, 12:12 PM
  2. Giving instruction to an executing C code
    By darkwalk in forum C Programming
    Replies: 2
    Last Post: 10-24-2006, 12:01 PM
  3. Replies: 40
    Last Post: 09-01-2006, 12:09 AM
  4. Executing a program
    By trancedeejay in forum C Programming
    Replies: 7
    Last Post: 03-06-2006, 08:55 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM