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.
>
>
|
All messages in this thread [show all]
 |  |  |  |  |  |  | re: Cannot delete file: Cannot read from the source file or disk (Krod: Thu, Feb 21, 2002, 4:44 pm) |
| |
| |
Return to the Windows 2000 Discussion Forum
|
|