I was working on the Java project with NIO.2 and I had to face the Files.createLink method. While doing some research on the Java tutorial, I found out that these windows look like shortcuts, but I'm not sure if they are the same. If they are not, how can I create a platform independently to create shortcuts?
Creating a symbolic link If your file system supports it , you can create a symbolic link using createSymbolicLink (Path, Path, File Entry) method. The second path represents the logic file or directory and may or may not exist. The following code snippet creates a symbolic link with the default permissions: Source:
No comments:
Post a Comment