rem AssociateJar.bat rem associate *.jar with java.exe. Must run as administrator. Does not work Rem do not run this as a bat file. You must type it out longhand (perhaps with paste assist). rem Can use java.exe or javaw.exe ftype jarfile="C:\Program Files\Java\jre1.8.0_131\bin\java.exe" -jar "%1" %* assoc .jar=jarfile rem -30-