in reply to file managing under windows

The type/extension is held in HKEY_CLASSES_ROOT in the registry. Win32::FetchCommand may help, it does not return the file type, but the name of the program associated with it.

If asked nicely, the author might make a modification to provide the file type. Or msg me.