得到系统桌面的路径

来源:互联网 发布:淘宝助理选择打印机 编辑:程序博客网 时间:2024/05/16 10:24
FileSystemView fsv = FileSystemView.getFileSystemView();
String deskTopPath = fsv.getHomeDirectory().getAbsolutePath() ;