del或erase命令支持回收站

时间:2013-12-04 19:13:29

标签: windows-7 cmd

是否可以选择使用Win7 cmd.exe的del / erase命令来支持将文件移动到回收站?

1 个答案:

答案 0 :(得分:1)

我建议使用powershell脚本但是你会遇到删除确认问题。

所以,我最好的建议是尝试一个名为cmdUtils和Recycle binary的实用工具,如下所示:https://superuser.com/questions/24662/what-is-the-command-line-way-of-sending-files-to-the-recycle-bin