in reply to Re: Launch file without console window
in thread Launch file without console window

Thanks! I was just about to post that I had managed to find a solution using system(1, "start /B /MIN cmd /c file.html") and was going to ask if anyone knew where these command switches were documented, as I am not certain what /B or /c are doing.
  • Comment on Re^2: Launch file without console window

Replies are listed 'Best First'.
Re^3: Launch file without console window
by BrowserUk (Patriarch) on Dec 24, 2012 at 02:39 UTC
    "start /B /MIN cmd /c file.html" ... anyone knew where these command switches were documented,

    Hm. You should not need any switches -- for a start [sic] /b (no new window) and /min (minimise new window) are contradictory.

    As a Windows user, you should be familiar with /?, it works with most of the windows commands.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Re^3: Launch file without console window
by Anonymous Monk on Dec 24, 2012 at 01:56 UTC