commandline file opening

BlitzPlus Forums/BlitzPlus Programming/commandline file opening

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have this proggy that i want to open certain file types when clicked on and i have tried using the commandline$() function. This does work however when i try to open the file i get and invalid stream error. How can i do this?