如何强制删除 baidu/tempdata/con.dat 的垃圾文件! How to fix locked SD card: 读卡器 损坏,补救措施!

时间:2020-12-29 23:17:33

https://www.youtube.com/watch?v=y2c37dcxNto&feature=youtu.be

使用windows command prompt 强制删除

baidu/tempdata/con.dat (百度 con.dat )

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

del "\\ \D:\rubbish\baidu\tempdata\con.dat"

2.

http://answers.microsoft.com/en-us/windows/forum/windows_8-files/a-folder-that-refused-to-be-deleted-invalid-file/a8506e19-d623-4af0-ab19-0fd17a672a3a

I realize this is old, but I had this problem and didn't see a good solution already posted, so...

Background

The issue is that CON is a reserved name in Windows, so it doesn't like folders with this name. (Similar things likely happen with other reserved names like PRN.) The problem arises when you have this folder created by other operating systems where it isn't a reserved word.

Windows and Windows applications don't handle this folder well at all, so in my case, I wanted to just delete it.

Solution

You can remove this using the command line, but will want to reference the location differently than you normally would (using UNC).

If the folder is C:\documents\con, then this command entered on the command line will remove it:

rd \\.\c:\documents\con /S /Q

rd is the command line tool to remove the directory.

\\. refers to the current computer.

\c:\documents\con is the path of the offending folder entry.

/S is a switch that tells rd to remove all subdirectories and files (like the old DELTREE command).

/Q is a switch that tells rd to this removal silently (you won't be prompted for removing the contents).

Change the \c:\documents path to whatever the location is for your CON folder.

Of course, this deletes the entire folder and its contents. It may be possible to rename or copy the folder to another name. I didn't have much luck with the rename, but I also didn't spend too much time on it.

Note that although you can use Windows Explorer to browse to the location \\., Explorer doesn't let you delete the folder. You need to use the command line to remove the CON folder.

3.

1>

https://youtu.be/y2c37dcxNto

用windows command prompt 强制删除 baidu/tempdata/con.dat (百度 con.dat )

2> if 1 doesn't work , just format your USB device by following the below steps!

1.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

2.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

3.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

4.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

5.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

6.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

7.

如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!

Be the first person to mark this helpful
 
 
 
How to fix locked SD card: 读卡器 损坏,补救措施!
 
1.
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!
2.
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!
3.
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!
4.
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!
5.
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!
6.
 
如何强制删除 baidu/tempdata/con.dat  的垃圾文件! How to fix locked SD card:  读卡器 损坏,补救措施!