I'm trying to set a file association in windows such that when I double-click on a dbase file, dbase is started by windows and automatically uses that file.
I have no problem creating the association, but dBase thinks anything passed to it "%1" is a program, and chokes when attempting to compile a database.
So what I need to know is how to have dBase invoke a startup program which then understands that "%1" is the file it's supposed to open.
So: \dbase\dbase startup.prg %1
What would the contents of startup.prg look like? I'm not getting something right about using the PROCEDURE or PARAMETER commands, most likely.
Thanks.
I have no problem creating the association, but dBase thinks anything passed to it "%1" is a program, and chokes when attempting to compile a database.
So what I need to know is how to have dBase invoke a startup program which then understands that "%1" is the file it's supposed to open.
So: \dbase\dbase startup.prg %1
What would the contents of startup.prg look like? I'm not getting something right about using the PROCEDURE or PARAMETER commands, most likely.
Thanks.