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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -