Re: Batch files

Discussion in 'C++' started by Mike Wahler, Jul 11, 2003.

  1. Mike Wahler

    Mike Wahler Guest

    Mad <> wrote in message
    news:...
    > Does any one know a way of calling batch files and giving them paramaters

    from c++

    If you mean the 'batch' files of DOS or WIndows:

    #include <cstdlib>

    int main()
    {
    std::system("file.bat blah blah blah");
    return 0;
    }

    -Mike
     
    Mike Wahler, Jul 11, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3JlZWx1?=

    Running batch files using Process class

    =?Utf-8?B?U3JlZWx1?=, Jul 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    443
    Scott Allen
    Jul 28, 2005
  2. Stephen

    Running Batch Files using ASP .NET

    Stephen, Dec 21, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,579
    Stephen
    Dec 22, 2005
  3. Replies:
    1
    Views:
    538
    Thomas Kellerer
    Jun 9, 2005
  4. Chris Rebert

    Re: Converting .py files to batch files.

    Chris Rebert, Sep 15, 2008, in forum: Python
    Replies:
    0
    Views:
    391
    Chris Rebert
    Sep 15, 2008
  5. Matias Surdi

    Re: Converting .py files to batch files.

    Matias Surdi, Sep 15, 2008, in forum: Python
    Replies:
    4
    Views:
    530
Loading...

Share This Page