Next time, I'll read the post properly ...
Yes, make the association of the file type to your IDE. Then when you double-click a file of the associated type, it'll open the IDE that can get the full pathname from CL$()
Ideally though, you'll want to automate the associations. You can use something this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ext]
@="NetworkStudio"
[HKEY_CLASSES_ROOT\NetworkStudio]
@="Netword Studio"
[HKEY_CLASSES_ROOT\NetworkStudio\DefaultIcon]
@="C:\\Program Files\\NetworkStudio\\NetworkStudio.exe,0"
[HKEY_CLASSES_ROOT\NetworkStudio\shell]
[HKEY_CLASSES_ROOT\NetworkStudio\shell\open]
[HKEY_CLASSES_ROOT\NetworkStudio\shell\open\command]
@="\"C:\\Program Files\\NetworkStudio\\NetworkStudio.exe\" \"%1\""
Either put it into a .reg file and double-click, or run the command 'regedit /s myreg.reg' to load from your program.
Be VERY careful when using this ... in fact, do a backup before you start tinkering with your registry in this way.