java - Listing Windows file types -
how can java program list of file types in windows (those listed in control panel/folder options/file types)?
the list of registered file types present in registry under hkey_classes_root key. if key begins .
registered file extension.
take @ msdn > file types more information how stored in registry.
you can query registry using reg
command. example, in command prompt type following command list out file extensions.
reg query hkey_classes_root | find "hkey_classes_root\."
to execute java program, use processbuilder.
Comments
Post a Comment