|
Answer» Hi- I have a little java application which (using JRE) will allow the user to open files with an application. I have a dialog which asks the user to browse for the application that will open the file based upon the file extension and saves this information in a map so the next time they wish to open a file with that extension they don't have to browse for the application. My question is: Does anyone know how to extract this information using Windows AutoDetect.exe? So on start-up I can write the map and not have to ask the user to browse. Maybe there is a utility or something that can be used? I've posted this question on Sun Forums and I guess it was inappropriate since it is not really a Java question. Any help would be welcome. windows autodetect.exe? What is that?http://www.file.net/process/autodetect.exe.html1. Autodetect.exe is not a Windows component, it is part of software from Ceedo Technologies Ltd.
2. In English, this is a "map"
Uh Thanks for the info re: my generic use of the TERM map. I guess what I should have said was HashMap<String,String> where the key string is the file extension and the value string is the path to the APPROPRIATE program to use to open the file. Anyway it LOOKS as though I am going to pursue another tack and have found that the information I need can be OBTAINED using batch files which make use of the assoc and ftype commands. This seems to be successful and so Thank You all for your patience. I am relatively new at batch files and so hope to be ABLE to ask some advice from you. Cheers n.
|