Open Files with created EXE/App

Carlo

New member
Is it possible to open Files with the created EXE/App?
Let’s say I tell my OS to open *.txt files with my App.
Can I catch this in my App when it starts?
 
Last edited:
Yes, is possible by using for example the code available below:
1131_2.png
Can I pass parameters to the exe? How to (ExeOutput)
I’ve registered my app as a protocol handle in the registry and would like to pass parameters like %url% via the browser - is this possible? I var_dump’d $GLOBALS, $arv & $argc and I couldn’t see anything. Thanks
To access the filename of the text file that would be passed as an argument, use 1 i.e. paramstr(1)
 
Back
Top