0

最近从 Windows XP 迁移到 Windows 7。我正在使用 eclipse 环境来构建项目。我有一个带有以下命令的make文件

clean:
find . -type f -name "*.o" -exec rm {} \;

这用于搜索和删除当前目录中的目标文件。在我移至 Windows 7 后,相同的命令不起作用。以下是 Windows 7 上的命令输出。

cs-make all 
find . -type f -name "*.o" -exec rm {} \;
Access denied - .
File not found - -TYPE
File not found - F
File not found - -NAME
File not found - -EXEC
File not found - RM
File not found - {}
File not found - ;
cs-make: *** [clean] Error 1***

我的帐户具有管理员权限。我也尝试使用“以管理员身份运行”运行 eclipse。如果有人知道解决方案,请告诉我。

4

0 回答 0