Pass arguments when using the File protocol

I asked this question in several places on the Internet (including the MSDN protocol file ), but there is no clear answer.

So, if I call my application as follows: file: // C: \ myapp.exe is there any way to pass some command line arguments to it, for example / nospashscreen = true

Things I tried:

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

Thanks in advance.

+3
source share
2 answers

, Windows? , "file://", Asynchronous Pluggable Protocol, .

, , , .

:

: URL

+2

# ().

+1

Source: https://habr.com/ru/post/1730069/


All Articles