executing

This is a discussion on executing within the C Programming forums, part of the General Programming Boards category; in trying to creat a prog that will execute a file like for example
system("c:\mydocuments\me.jpg");
but as i can see ...

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