I WANT TO WRITE PROGRAM DELETE THIS FILE
-
I problem with delete file,folder My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”. Some folder delete then messagebox,too. I can write program delete this file,folder ? Thanks. Tuan_KD :-D :-D ,College 8,Vietnam.
-
I problem with delete file,folder My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”. Some folder delete then messagebox,too. I can write program delete this file,folder ? Thanks. Tuan_KD :-D :-D ,College 8,Vietnam.
I think you'll better find a tool to erase the files and folders. Google is your friend. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
I problem with delete file,folder My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”. Some folder delete then messagebox,too. I can write program delete this file,folder ? Thanks. Tuan_KD :-D :-D ,College 8,Vietnam.
format the usb key.
-
I problem with delete file,folder My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”. Some folder delete then messagebox,too. I can write program delete this file,folder ? Thanks. Tuan_KD :-D :-D ,College 8,Vietnam.
If the directory is corrupted and unreadable, then chances are bleak that your program will delete it. You could try to format the drive (that's assuming there are no bad sectors).
“Follow your bliss.” – Joseph Campbell
-
I problem with delete file,folder My USB have virus.I scan & clear it.Some file when I delete then messagebox:”can’t remove folder:the file or directory is corrupted & unrreadable.I can’t delete file”. Some folder delete then messagebox,too. I can write program delete this file,folder ? Thanks. Tuan_KD :-D :-D ,College 8,Vietnam.
Do you have access to Linux, Ubuntu, or some other distribution? That might help.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
format the usb key.
If the OP has the same type of virus I picked up, formatting the USB stick will not help - the virus (which was already on the hard disk from some previous dirty USB stick) just puts the infection back. The company antivirus (McAfee IIRC) could detect the virus on the USB stick, but it ignored the hard disk infection. In the end, I restarted Windows in safe mode, and deleted the offending file and directory on the hard disk and on the USB stick.