Windows 一直给我这个错误 0x80004005:删除文件夹时出现未指定的错误
Windows keeps giving me this Error 0x80004005: Unspecified Error during deleting a folder
我刚刚从我的驱动器下载了一个文件夹并将文件解压缩到当前目录。但是我无法打开文件夹,文件资源管理器说文件夹中的文件不存在。然后我尝试删除该文件夹,但因未指定错误而失败。我尝试了另一种删除文件夹的方法,例如...
del /f folder_name
在我的 GNU Bash 上,我试过了...
rm -fr folder_name
所以他们中的任何一个都不起作用。有什么办法可以删除这个文件夹吗?
这是图片。
"Something about school."
文件夹名称中有一个尾随点。 运行 以下命令(可能需要提升权限/以管理员身份打开命令提示符,另请参阅我对 similar question at SuperUser 的回答):
del "\?\C:\Users\mete\…-24\Something about school."
注意上面的…
(horizontal ellipsis)占位符表示省略了部分路径。
For file I/O, the "\?\
" prefix to a path string tells the Windows
APIs to disable all string parsing and to send the string that follows
it straight to the file system.
...
Because it turns off automatic expansion of the path string, the
"\?\
" prefix also allows the use of "..
" and ".
" in the path
names, which can be useful if you are attempting to perform operations
on a file with these otherwise reserved relative path specifiers as
part of the fully qualified path.
请注意,您不能在相对路径中使用“\?\
”前缀。
我刚刚从我的驱动器下载了一个文件夹并将文件解压缩到当前目录。但是我无法打开文件夹,文件资源管理器说文件夹中的文件不存在。然后我尝试删除该文件夹,但因未指定错误而失败。我尝试了另一种删除文件夹的方法,例如...
del /f folder_name
在我的 GNU Bash 上,我试过了...
rm -fr folder_name
所以他们中的任何一个都不起作用。有什么办法可以删除这个文件夹吗?
这是图片。
"Something about school."
文件夹名称中有一个尾随点。 运行 以下命令(可能需要提升权限/以管理员身份打开命令提示符,另请参阅我对 similar question at SuperUser 的回答):
del "\?\C:\Users\mete\…-24\Something about school."
注意上面的…
(horizontal ellipsis)占位符表示省略了部分路径。
For file I/O, the "
\?\
" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system....
Because it turns off automatic expansion of the path string, the "
\?\
" prefix also allows the use of "..
" and ".
" in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path.
请注意,您不能在相对路径中使用“\?\
”前缀。