此批处理命令删除文件,而不是目录。
del [filename]
以下示例显示了 del 命令的不同变体。
@echo off Rem Deletes the file lists.txt in C:\ del C:\lists.txt Rem Deletes all files recursively in all nested directories del /s *.txt Rem Deletes all files recursively in all nested directories , but asks for the confirmation from the user first Del /p /s *.txt
所有操作均按照批处理文件中的备注执行。
这一章《批处理 - 常用命令 - DEL函数》你学到了什么?在下面做个笔记吧!做站不易,你的分享是对我们最大的支持
使用 console.log 时,我的 reactJs 代码在控制台中打印了两次值