harlanhugh
asked on
Get exe description using java
Using Java I would like to get the Description name that appears in an exe file when you right click it and open the properties.
For instance C:\Windows\notepad.exe. If you right click on the properties the Description name is Notepad.
Thanks in advance.
For instance C:\Windows\notepad.exe. If you right click on the properties the Description name is Notepad.
Thanks in advance.
I don't thunk you can do that in Java... may be you can try with JNI or Runtime.exec if there is a windows command for getting the description of a file...
i have never come across such a command in MS DOS or a example in Java so I dont know if this can be done. Can we ask why you want to get the files info?
ASKER
Basically I have a Java application that shows files, folders and URL's. I would like my program to mimic as close as possible to what you see in Windows (and eventually the Mac and possibly Unix) when you right click on a file, folder or URL.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your time.