in reply to Launch file without console window

Use system 1, q[start your.html];


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

Replies are listed 'Best First'.
Re^2: Launch file without console window
by Phinix (Acolyte) on Dec 24, 2012 at 01:19 UTC
    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.
      "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