Donnerstag, 18. Februar 2010

[JAVA] get Folder-"My Documents" under Windows

Years after the first Java-release, there is now a way to get the "My Documents"-Folder under Windows.

Just use

FileSystemView.getFileSystemView().getDefaultDirectory().getAbsolutePath()

to retrieve the path.

Up to Java 1.4 you have to go strange ways (read the registry) to get the path.

Suche

 

Aktuelle Beiträge

Anleitung Dieselheizung...
Den beliebten Dieselheizungen aus chinesischer Produktion...
techomatic - 2022-11-13 00:35
Reifendruckkontrolle...
Wenn die Reifendruckkontrollleuchte (Toyota Yaris III)...
techomatic - 2022-10-23 13:58
openSSH-Keys mit Putty(gen)...
Ziel: openSSH-Keypaare unter Windows erzeugen Problem: Putty.. .
techomatic - 2021-02-20 13:59
mp4-Videos mit Virtualdub...
Für Virtualdub gibt es einen sehr guten Entwackler...
techomatic - 2018-11-03 21:26
[SMB] XP WIN7 WIN10 Login...
Wer beim Versuch auf Windows-Freigaben eines XP-Rechners...
techomatic - 2018-05-04 22:04

Credits

powered by Antville powered by Helma


xml version of this page

twoday.net AGB

click tracking

Status

Online seit 5935 Tagen
Zuletzt aktualisiert: 2022-11-17 19:10

System