Re: cannot delete file: cannot read from the source file or disk
From: Jim Byrd (jrbyrd_at_spamlessadelphia.net)
Date: 10/18/04
- Next message: Jon: "Re: XP SP2 Constant Disk "Thrashing""
- Previous message: Don: "Winexplorer"
- In reply to: Yakimo: "Re: cannot delete file: cannot read from the source file or disk"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 18 Oct 2004 10:48:17 -0700
Hi Yakimo - I didn't see in your previous postings whether you'd just tried
renaming the bad files and then tried to delete them. Also, did you also
try Killbox? Also, see here: http://www.jsiinc.com/subl/tip5500/rh5533.htm
and here: http://www.jsiinc.com/suba/tip0000/rh0026.htm I don't know if
this would work, but try saving anything else in the folder and any
sub-folders that you may need and then try to delete the entire directory
tree using the \\.\ syntax RmDir \\.\Drive:\directory\ /s
Run chkdsk /f afterwards (probably on a re-start).
For Posix (or Interix in Windows) - You didn't state which version of XP you
have. If it's XP Pro, you can enable the Interix functions following the
procedure here: http://support.microsoft.com/default.aspx?kbid=324076 or
you can look at Services for Unix 3.5
http://www.microsoft.com/windows/sfu/downloads/default.asp which contains a
complete set of Interix tools. You'll need to register to download it. You
can read more here:
http://www.microsoft.com/windows/sfu/productinfo/features/whatsnew.asp
-- Please respond in the same thread. Regards, Jim Byrd, MS-MVP In news:%23DPGDYPtEHA.272@TK2MSFTNGP12.phx.gbl, Yakimo <tyakimov@nospams.no> typed: > Where can I find POSIX to try? Copylock doesn't work - gives the same > error > > > "Jim Byrd" <jrbyrd@spamlessadelphia.net> wrote in message > news:erpMSRFtEHA.904@TK2MSFTNGP11.phx.gbl... >> 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
- Next message: Jon: "Re: XP SP2 Constant Disk "Thrashing""
- Previous message: Don: "Winexplorer"
- In reply to: Yakimo: "Re: cannot delete file: cannot read from the source file or disk"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|