Pass arguments when using the File protocol

Posted by Ando on Stack Overflow See other posts from Stack Overflow or by Ando
Published on 2010-01-26T16:02:58Z Indexed on 2010/06/09 9:42 UTC
Read the original article Hit count: 246

I found this question being asked on several places on the internet (including the File protocol MSDN page) but no clear answer.

So, if I am calling my application like this: file://c:\myapp.exe is there any way to pass it some command line arguments, like /nospashscreen=true

Things I've tried:

file://c:\myapp.exe?/nospashscreen=true - launches the app, but with no command line arguments :(

Thanks in advance.

© Stack Overflow or respective owner

Related posts about protocols

Related posts about command-line-arguments