Re: cannot delete file: cannot read from the source file or disk

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jim Byrd (jrbyrd_at_spamlessadelphia.net)
Date: 10/17/04


Date: Sun, 17 Oct 2004 07:19:28 -0700

Hi Yakimo - If Dave's POSIX suggestion doesn't help, you might look at
Copylock or Killbox and see if they'll do it for you.

A program called Copylock, here,
http://noeld.com/programs.asp?cat=misc#CopyLock can aid in the process of
"replacing, moving, renaming or deleting one or many files which are
currently in use (e.g. system files like comctl32.dll, or virus/trojan
files.)" Another is Killbox, here:
http://download.broadbandmedic.com/Killbox.exe

-- 
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP
In news:eA5iwpCtEHA.624@TK2MSFTNGP09.phx.gbl,
Yakimo <tyakimov@nospams.no> typed:
> Doesn't work, Jim. Here is the output:
> ----------------------------------
> C:\Temp\Content\t>del \\.\c:\temp\content\t\*.*
> \\.\c:\temp\content\t\*.*, Are you sure (Y/N)? y
> \\.\c:\temp\content\t\?.p?
> The filename, directory name, or volume label syntax is incorrect.
> \\.\c:\temp\content\t\F   vk.<
> The filename, directory name, or volume label syntax is incorrect.
> \\.\c:\temp\content\t\=~->ºF-?
> The filename, directory name, or volume label syntax is incorrect.
> --------------------------------
>
> I also tried
> rd \\.\c:\temp\content\t /s
> The result is exactly the same as above: the same error message
>
> I am hoping there are other ideas :-)
>
> ./Yakimo
>
>
> "Jim Byrd" <jrbyrd@spamlessadelphia.net> wrote in message
> news:O6yFhCAtEHA.3200@TK2MSFTNGP14.phx.gbl...
>> Hi Yakimo - Courtesy of Dave Patrick:  Try prepending the path w/
>> \\.\
>>
>> Ex:
>>
>> del \\.\Drive:\directory\*.*
>> (Note: the period between \\ and \)
>>
>> This syntax bypasses the reserved word check allowing you to delete.
>>
>> --
>> Please respond in the same thread.
>> Regards, Jim Byrd, MS-MVP
>>
>>
>>
>> In news:%23mNEP47sEHA.636@TK2MSFTNGP09.phx.gbl,
>> Yakimo <tyakimov@nospams.no> typed:
>>> Bill,
>>> that is one of the first things I tried. I got:
>>> C:\Temp\Content\t\=~->ºF-?
>>> The filename, directory name, or volume label syntax is incorrect.
>>>
>>> Any other suggestions?
>>>
>>> "Bill James" <wgjames@mvps.org> wrote in message
>>> news:%23hU7sq7sEHA.1276@TK2MSFTNGP12.phx.gbl...
>>> If there is nothing in that directory that you need to save, try
>>> changing to that directory (important), then executing the command
>>> del *.*    to see if that will remove the files.  If there are files
>>> you need to keep, move them to another folder first, since using the
>>> wildcard * will cause your good files to also be deleted if they are
>>> in the same folder.
>>>
>>>
>>> "Yakimo" <tyakimov@nospams.no> wrote in message
>>> news:u8aiUj6sEHA.1216@TK2MSFTNGP10.phx.gbl...
>>>> Yes, it shows exactly the same file names, with those wrong
>>>> characters. Here is the output of DIR /X
>>>> 10/16/2004  07:48 PM    <DIR>                       ..
>>>> 03/13/2003  10:57 AM                 0              .p
>>>> 10/16/2004  07:48 PM                 0              1.txt
>>>> 03/13/2003  10:57 AM            16,384              èÿÿÿvk.<
>>>> 07/24/2105  01:00 AM       805,109,760              ð~Ð>§èÂ
>>>>
>>>> "Lanwench [MVP - Exchange]"
>>>> <lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> wrote
>>>> in message news:ucqnXe5sEHA.2668@TK2MSFTNGP12.phx.gbl...
>>>>> Yakimo wrote:
>>>>>> I run WindowsXP.
>>>>>> There are 3 files, created somehow, that I cannot delete.
>>>>>> I read all the posts from the group but I couldn't find my case.
>>>>>> Nothing is working - moving files, RD, del /s .... from DOS
>>>>>> The problem is that filenames used weird characters.
>>>>>> Filenames look like:
>>>>>> ?~?>º??
>>>>>> .p
>>>>>> ?   vk.<
>>>>>>
>>>>>> if  I go CMD and try to do whatever, I get "The filename,
>>>>>> directory name, or volume label syntax is incorrect."
>>>>>
>>>>> If you type in dir /x in a command prompt in this folder, does it
>>>>> show you the file names?
>>>>>
>>>>>
>>>>>> I tried chkdsk /f and it didn't help
>>>>>> CheckDisk from drive properties, tools doesn't help either
>>>>>
>>>>> It's the same thing as chkdsk.
>>>>>
>>>>>>
>>>>>> Any good ideas?
>>>>>>
>>>>>> Thanks,
>>>>>> Yakimo


Relevant Pages