yes, I did not literally want to change all INIs to my program. sorry for not being clear. I was going to make a new file extension which I would use exactly like an INI, but it would only be used between a couple of my programs.
Here's the plan. One program gathers information, saves it to INI alternative: "SINI"
That file is sent to another user, who can then double click it, which opens another Gui program simply to display the saved information.
I could use the fileselectfile, but I thought this would be nicer.
I have come across something of interest
here. Thanks shimanov. It uses DLLCalls to gather all processes and displays their name and command line.
I took from it what I needed in order to simply get the name of the file which triggered my program to run, then opened it with INIREAD.
His script was way over my head, and so were my ambitions, but I got it working, and hope to have a moment to study his work.