这个问题似乎不是关于 a specific programming problem, a software algorithm, or software tools primarily used by programmers 的.如果您认为这个问题是关于 another Stack Exchange site 的主题,您可以发表评论,说明问题可能在哪里得到解答。
关闭 2 年前。
我已经阅读了问题 "rm -rf" equivalent for Windows? .而且我还尝试了以下命令:
$ rm app
$ rmdir /s /q app
$ rmdir -s -q app
$ rd /s /q app
和许多其他变体。它总是提示我:
The item at C:\ThisDirectoryDoesNotExist\app\ has children and the Recurse parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
当我选择 A
时,它会抛出一个错误:
rm : Cannot remove item C:\ThisDirectoryDoesNotExist\app.git\objects\pack\pack-45e426475eb08ff5042bf88556fbedd3956fba53.idx: You do not have sufficient access rights to perform this operation.
我该怎么做?