i need a c code, that opens a *.exe application(not opengl question)

I need a c code that will open a Application(*.exe) in the parent directory.
Does anyone know how i could do this?
Thanks
-Starnut

I assume that by “open” you mean run the executable. Try:

System(“foo.exe”);
http://msdn.microsoft.com/library/devprods/vs6/visualc/vclang/_clang_the_system_function.htm

Glossifah

Great thats exactly what im looking for, only which header must i include to use System(“string”);

edited:
Oh nevermind i just have to write System small.
Thanks for your help.
-Starnut

[This message has been edited by Starnut coder (edited 01-21-2001).]