Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1014338651 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

re: Cannot delete file: Cannot read from the source file or disk
Thursday, February 21, 2002 at 4:44 pm
Windows 2000 Annoyances Discussion Forum
Posted by Krod (1 messages posted)


To answer everyones questions here, I have tested and done a great deal of work on 
this, since there is NO documentation on the internet, here is how to create and 
remove these 'rogue' file/directory names!


How people 'hackers'(no skill involved) create these files.


Due to some GREAT MS file system setup(POSIX), files with names beginning with com, 
aux, prn, con, nul, cannot be read under a 32-bit OS as they obviously refer to printing 
and comm devices, therefore the machine gets confused with these names, BUT some 
programs are not aware of these, such as, FTP, also, this is not checked when using 
a UNC connection, ie:



Using UNC


mkdir \\targetmachine\c$\com - this will create an undeletable file. In order to 
make it worse:
ren \\targetmachine\c$\com1 - undeletable! and, you, as the creator, cannot rename 
it either! WOW!


Using FTP


log on as anonymous.
mkdir com - as above
ren com com1 - as above!!!


Poor administrator cannot delete this file :(


So, in order to delete, you will have to rename. As some people have said, doing 
a dir /x will show you various bits like perhaps 8.3 notation(eg: com1~002), wrong, 
it DOES NOT WORK! dir /x will give you NOTHING.

so, solution is

a) You have to log onto the affected machine LOCALLY.
b) ren \\.\c:\com1 file
c) rmdir file

DONE!

If this doesn't work for someone, please let me know!

krod007@hushmail.com




On Thursday, January 31, 2002 at 6:38 am, David Fritzke wrote: >Thanks Matt, > >We also were able to delet the data but not the directories. I will give you an >update if I find one. > >


>On Wednesday, January 30, 2002 at 7:36 pm, MattTheRatt wrote:
>David,
>
>They filled up my hard disk also, 15 gigs. I went to the command promp. (start/run
>"cmd") . Changed my directory to the ftproot directory, ("CD C:/inetpub/ftproot").
> Then I entered "del *.* /f /s /q"
>
>This deleted all the files but left all the subfolders. I still can't get rid of
>my subfolders, but it did free up all the space.
>
>Hope this helps.
>
>
>
>


>On Tuesday, January 29, 2002 at 1:39 pm, David Fritzke wrote:
>Hello, Did this work we just had te same issue. They filled my Hard Disk with 14 >
>GB of data.
>
>Thanks
>
>Dave Fritzke
>YMCA of Metropolitan Milwaukee
>
>


>On Friday, December 28, 2001 at 7:45 am, Alex wrote:
>
>Hello,
>Thanks for replying.
>I worked on it the whole morning.
>I get rid of it by (I think) taking ownership of all the files and using the del 
>*.* command.
>Thanks for help.
>
>



Written in response to:
re: Cannot delete file: Cannot read from the source file or disk (David Fritzke: Thursday, January 31, 2002 at 6:38 am)

Responses to this message:
*re: Cannot delete file: Cannot read from the source file or disk (Guido Govers: Sunday, March 17, 2002 at 8:22 pm)

All messages in this thread [show all]
-Cannot delete file: Cannot read from the source file or disk (Alex: Thu, Dec 27, 2001, 8:40 am)
-re: Cannot delete file: Cannot read from the source file or disk (Lazerus: Thu, Dec 27, 2001, 11:11 am)
-re: Cannot delete file: Cannot read from the source file or disk (Alex: Fri, Dec 28, 2001, 7:45 am)
-re: Cannot delete file: Cannot read from the source file or disk (David Fritzke: Tue, Jan 29, 2002, 1:39 pm)
-re: Cannot delete file: Cannot read from the source file or disk (MattTheRatt: Wed, Jan 30, 2002, 7:36 pm)
-re: Cannot delete file: Cannot read from the source file or disk (David Fritzke: Thu, Jan 31, 2002, 6:38 am)
-re: Cannot delete file: Cannot read from the source file or disk (Krod: Thu, Feb 21, 2002, 4:44 pm)
*re: Cannot delete file: Cannot read from the source file or disk (Guido Govers: Sun, Mar 17, 2002, 8:22 pm)
-re: Cannot delete file: Cannot read from the source file or disk (Karl Fife: Fri, Feb 1, 2002, 11:34 pm)
-re: Cannot delete file: Cannot read from the source file or disk (Mike: Sat, Feb 2, 2002, 3:11 pm)
-re: Cannot delete file: Cannot read from the source file or disk (John Manton: Tue, Feb 5, 2002, 10:36 am)
-re: Cannot delete file: Cannot read from the source file or disk (David Prendergast: Tue, Feb 5, 2002, 12:23 pm)
-re: Cannot delete file: Cannot read from the source file or disk (David Prendergast: Tue, Feb 5, 2002, 1:24 pm)
-re: Cannot delete file: Cannot read from the source file or disk (drew: Tue, Feb 19, 2002, 7:39 am)
*re: Cannot delete file: Cannot read from the source file or disk (StarLine: Sun, Mar 3, 2002, 4:46 am)
-re: Cannot delete file: Cannot read from the source file or disk (John Manton: Tue, Feb 5, 2002, 12:29 pm)
*re: Cannot delete file: Cannot read from the source file or disk (Matt C.: Mon, Mar 4, 2002, 3:18 pm)
-re: Cannot delete file: Cannot read from the source file or disk (Roch Burton: Sat, Sep 13, 2003, 11:34 am)
*re: Cannot delete file: Cannot read from the source file or disk (Roman: Thu, Oct 2, 2003, 4:30 am)
-re: Cannot delete file: Cannot read from the source file or disk (Alex R: Sun, Jun 20, 2004, 7:22 pm)
*re: Cannot delete file: Cannot read from the source file or disk (Wayne Harrington: Tue, Jun 22, 2004, 2:31 pm)
*re: Cannot delete file: Cannot read from the source file or disk (ERICA: Sun, Mar 6, 2005, 3:51 pm)
-re: Cannot delete file: Cannot read from the source file or disk (Matt Darnell: Sun, Sep 21, 2003, 8:13 pm)
-re: Cannot delete file: Cannot read from the source file or disk (csutton7: Tue, Oct 21, 2003, 9:26 pm)
*re: Cannot delete file: Cannot read from the source file or disk (Richard Novell: Sat, Feb 7, 2004, 8:32 am)
-re: Cannot delete file: Cannot read from the source file or disk (Richard Novell: Sat, Feb 7, 2004, 8:44 am)
-re: Cannot delete file: Cannot read from the source file or disk (T. Hill: Sat, Mar 13, 2004, 4:49 am)
-The SIMPLE Answer (Producer: Fri, Mar 19, 2004, 4:35 am)
*re: The SIMPLE Answer (zendoren: Sun, Mar 30, 2008, 11:56 am)
Return to the Windows 2000 Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.