CMD命令删除文件并把它们放到回收站? [英] CMD Command to delete files and put them into Recycle Bin?
本文介绍了CMD命令删除文件并把它们放到回收站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有任何控制台命令DEL从文件夹中删除文件并把它们放到回收站?德尔命令,将删除回收站中的文件,而不是。
Is there any console command "del" to delete files from a folder and put them into Recycle Bin? del command will delete files and not in Recycle Bin.
推荐答案
如果没有外部程序 - <一个href=\"https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/deleteJS.bat\"><$c$c>deleteJS.bat$c$c>.
它采用 Shell.Application
调用动词的方法。
用法很简单:
Without external programs - deleteJS.bat
.
It uses Shell.Application
invoke verb method.
usage is simple:
call deleteJS.bat c:\someFile.txt
call deleteJS.bat d:\someFolder
这篇关于CMD命令删除文件并把它们放到回收站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文