Windows Files.copy Folder custom icon
Java
1
Posts
1
Posters
1
Views
1
Watching
-
After you use
Files.copy(What to copy, Where to copy, StandardCopyOption.REPLACE_EXISTING);
to copy a folder to a new location it loses it's custom icon as that info is stored in the file desktop.ini inside the folder. Now if you copy that file also inside it after, it still doesn't changes the icon. So how can you "tell the folder to use the desktop.ini" to apply the icon? Or how else can you copy a folder and keep it's custom icon as well?