Associating .5250 with my terminal emulation application in WinDoze XP is easy: just go to Folder Options/File Types, add a new extension, and associate it with:
"C:\Program Files\Java\jdk1.6.0_12\jre\bin\java.exe" -jar J:\emulator\jars\emulator.jar "%1"
But how do I do the equivalent in WinDoze 7?
I did a GOOGLE search and found something about "assoc" and "ftype" commands, but if I try these, from what is supposedly an admin account, I get "Access is denied."
(The more you overthink the plumbing, the easier it is to stop up the drain!)
Control Panel->Default Programs->Associate a file type or protocol with a program.
For assoc and ftype to work, you need to run your command prompt by right-clicking the icon and choosing "Run as administrator". Yes, even if you are one:)
"Run as administrator" definitely helps, BUT
All I get when I double-click on the file is a command prompt window that flashes, too fast for me to read the error message, then disappears.
I tried changing the association to point to a .bat file (fully qualified down to the drive letter!) that would execute the command then pause. Same result.
Entering the command from an ordinary command prompt works just fine.