|
From: Guillermo G. <ggu...@ma...> - 2005-03-02 23:06:58
|
well, if you are doing a console application one thing you could try =
would be:
=20
system(" path\to\the\batchfile.bat");
=20
anything beyond that I would not be able to tell you about.
-----Original Message-----
From: dev...@li... =
[mailto:dev...@li...]On Behalf Of daniel
Sent: Wednesday, March 02, 2005 2:59 PM
To: Dev...@li...
Subject: [Dev-C++] opening files in c
Hello,
I am writing a program which asks the user whether they want to =
execute (open) a batch file or not.=20
I tried using the fopen function but it seems to only enable you to =
write to a file or read from a file (e.g. calculate the number of words =
in a given file).=20
What I want to do is open an external file. Is there a command for this? =
|