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?
Yes, is possible by using for example the code available below:
To access the filename of the text file that would be passed as an argument, use 1
i.e. paramstr(1)
Thanks, this works perfectly.
1 Like