How to get the path of Shortcut i.e., lnk file when we read from FileChooser java
We have a environment that, actual files are stored in the server and shortcut files are given to users. User choose the shortcut file from the application, but when we choose the shortcut file, it reads the target file. Now, how to get the shortcut file path, FileChooser always get the target file path and also want to know how to identify the file is a shortcut file or regular file? as because FileChooser always points to target file.
This is the fileChooser used
FileChooser fileChooser = new FileChooser();
File file = fileChooser.showOpenDialog(argument);
here file always points to target file