Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. system(command) help

system(command) help

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nadiric
    wrote on last edited by
    #1

    Is it possible to send a command to the operating system without causing a command window to pop up? This seems to be the behaviour of system(command), any alternatives? Thanks

    D T 2 Replies Last reply
    0
    • N nadiric

      Is it possible to send a command to the operating system without causing a command window to pop up? This seems to be the behaviour of system(command), any alternatives? Thanks

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      nadiric wrote:

      Is it possible to send a command to the operating system without causing a command window to pop up?

      Yes.

      nadiric wrote:

      This seems to be the behaviour of system(command), any alternatives?

      CreateProcess().


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      1 Reply Last reply
      0
      • N nadiric

        Is it possible to send a command to the operating system without causing a command window to pop up? This seems to be the behaviour of system(command), any alternatives? Thanks

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        ShellExecute()


        [VisualCalc][Binary Guide updated! ][CommDialogs new! ] | [Forums Guidelines]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups