更新时间:2023-09-10 17:08:22
为什么使用Shell删除文件?为什么不直接从您的VB应用程序中删除它们,不需要确认?
看看这里:如何删除目录中的所有文件和文件夹? - 堆栈溢出 [ ^ ] - 代码是C#,但很明显!
Why are you using Shell to delete files at all? Why not delete them directly from your VB app, where confirmation isn't needed?
Have a look here: How to delete all files and folders in a directory? - Stack Overflow[^] - teh code is C# but it's pretty obvious!