CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    41

    Smile System(char*) what does this syntax do?

    I search over the internet but are unable to find the meaning of the syntax system(char* pathname) . What does this syntax do. Does it go to the certain path the pathname point too. And create a file, if the file don't exist?

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: System(char*) what does this syntax do?

    system() is an API which lets you execute a program, you supply a path of the exe as an argument.

    But this an obsolete way of invoking programs, you should try CreateProcess instead.
    Regards,
    Ramkrishna Pawar

  3. #3
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: System(char*) what does this syntax do?

    ... or you can use ShellExecute to run a external command.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured