Delete a file cannot be deleted
来源:互联网 发布:python gb2312转utf 编辑:程序博客网 时间:2024/06/06 02:24
Hello every one, I'm happy to here and ask you a question, in other words, let's solve a pazzle.
I downloaded some TV-Shows from the Internet, and I want to convert them to AVI files because that could save a lot of space of hard-disk. But during using the third-party software WinMPG Video Convert, an error occured and showed a message to me telling that the file I selected had no video or audio stream, but it is impossible, because the file can be played normally. Then, I found this software built a zero-size file on my hard-disk, and while I tried to delete this file, Windows had no response soon. Why? I cannot explain that, but it's interesting and unbelievable that when I tried to write some C# codes to delete this file automatily, an exception occured when I debugged it, the message showed me that the file I tried to delete was locked by another process. What? Which one? I don't know. I closed my application and tried to delete again. I'm really hope that it can success, but it does not, the difference is that Windows responsed and showed me the same message. Then, I opened the taskmgr and found a process named conime.exe(calm down man, it does not a virus, on the contrary, it is a normal process that called by my application, because my application is an Console Application, it of course will call the Console IME), I killed it and tried to delete the file once again. SUCCESS! What did my application do? Could you explain the pazzle for me? Thanks lot.
Best Regards,
Wei CHEN
I downloaded some TV-Shows from the Internet, and I want to convert them to AVI files because that could save a lot of space of hard-disk. But during using the third-party software WinMPG Video Convert, an error occured and showed a message to me telling that the file I selected had no video or audio stream, but it is impossible, because the file can be played normally. Then, I found this software built a zero-size file on my hard-disk, and while I tried to delete this file, Windows had no response soon. Why? I cannot explain that, but it's interesting and unbelievable that when I tried to write some C# codes to delete this file automatily, an exception occured when I debugged it, the message showed me that the file I tried to delete was locked by another process. What? Which one? I don't know. I closed my application and tried to delete again. I'm really hope that it can success, but it does not, the difference is that Windows responsed and showed me the same message. Then, I opened the taskmgr and found a process named conime.exe(calm down man, it does not a virus, on the contrary, it is a normal process that called by my application, because my application is an Console Application, it of course will call the Console IME), I killed it and tried to delete the file once again. SUCCESS! What did my application do? Could you explain the pazzle for me? Thanks lot.
Best Regards,
Wei CHEN
- Delete a file cannot be deleted
- Can not delete a master page "This item cannot be deleted because it is still referenced by other pa
- Two classes cannot be put in a .java file
- cannot be read or is not a valid ZIP file
- cannot be read or is not a valid ZIP file
- cannot be read or is not a valid ZIP file
- Cannot delete file or folder
- Error writing file: A file cannot be larger than the value set by ulimit
- Restore a deleted file in a Git repo
- Warning: Variable 'a' cannot be saved to a MAT-file whose version is older than 7.3.
- Warning: Variable 'a' cannot be saved to a MAT-file whose version is older than 7.3.
- Why Recovering a Deleted Ext3 File Is Difficult . . .
- cannot be opened because the project file cannot be parsed
- cannot be opened because the project file cannot be parsed
- The file contains a character that cannot be represented in the current code page (936)
- warning C4819: The file contains a character that cannot be represented in the current code page
- VSE: The file contains a character that cannot be represented in the current code page (936).
- warning C4819: The file contains a character that cannot be represented in the current code page
- thingking in java 读书笔记---复用和多态
- C#锐利体验-第七讲 域与属性(转)
- 堆和栈的区别
- C#锐利体验-第八讲 索引器与操作符重载(转)
- This is my first blog
- Delete a file cannot be deleted
- 爱情经典名言摘抄
- 一种灵活的远程设备打印解决方案
- TCP/IP详解(一)简介
- 一个简单的Hibernate例子
- mysql5.0 windows安装步骤
- 一句话哲理:为什么我疼他就笑
- 给Ajax技术初学者的一些建议
- Hibernate的配置信息