标签: java
在C:\下创建文件时遇到了AccessDeniedException,有谁知道如何修复它?顺便说一句,我已经是管理员了,我正在使用Windows 7。
Path path = Paths.get("C://afile"); Files.createFile(path);