ftype
and assoc
:assoc .bo2=GenaeDocument
ftype GenaeDocument=javaw.exe -jar pathtoyourprogram.jar '%1'
javaw.exe
can be found on the path. If that is not the case, just use the full path to javaw.exe
..bo2
file should start your application. I assumed you are using a Swing (GUI) application, therefor the ftype is using javaw.exe
. If your application is a console program instead, you should use java.exe
.zzz
(simply a file type unlikely to clash with existing file associations) of content type text/sleepytime
. ..IntegrationService
introduced in 1.6.0_18+.