mr-wuxiansheng
FileSystemView fsv = FileSystemView.getFileSystemView();
File com=fsv.getHomeDirectory();   
System.out.println(com.getPath()); //这便是桌面的具体路径

 

分类:

技术点:

相关文章:

  • 2022-02-07
  • 2022-02-28
  • 2022-12-23
  • 2022-01-08
  • 2022-03-02
  • 2021-12-09
  • 2021-11-18
猜你喜欢
  • 2021-12-04
  • 2021-12-21
  • 2021-05-17
  • 2022-01-15
  • 2022-02-06
相关资源
相似解决方案