试图在makefile中删除文件夹时的错误
您好,试图删除文件夹时遇到了错误。在我写的makefile中,我
cmd //c del bin/debug/res
给了我一个错误:
'es' is not recognized as an internal or external command,
operable program or batch file
我是新手。
谢谢
Hello i encountered an error when trying to delete a folder. In my makefile i wrote:
cmd //c del bin/debug/res
and it gave me the error:
'es' is not recognized as an internal or external command,
operable program or batch file
I'm new to makefiles.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
del
用于删除文件。要删除文件夹,请使用rmdir
。请注意,您只能删除空的文件夹,因此,如果文件夹不是空的,则应使用
del /s < /code>,然后使用
rmdir /s < /code>。
/s
标志还将处理子文件夹。DEL
is for deleting files. To delete folders useRMDIR
.Note that you can only delete folders that are empty, so if the folder is not empty you should use
DEL /S
followed byRMDIR /S
. The/S
flag is to also handle subfolders.