在 bat 批處理中,可以使用 del 命令來刪除指定的文件或文件夾。以下是一些示例:
del
del C:\path\to\file.txt
/s
rmdir /s C:\path\to\folder
請注意,刪除操作是不可逆的,所以請謹慎操作。