Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个卸载程序,其中使用 RMDir 和 RMDir /r 删除了目录。在调试时,我意识到如果在 Windows 资源管理器等文件管理器中打开目录,这两个功能都不起作用。目录没有被删除。
为什么会发生这种情况。我能做些什么呢?
从文档中:
如果指定 /REBOOTOK,则在此过程中无法删除的任何文件或目录将在重新启动时删除